{"name": "test__checkevent_pmu", "code": "__int64 __fastcall test__checkevent_pmu ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 @@v2@@ ; @@v2@@ = perf_evlist__first ( @@a1@@ ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) { if ( * ( _DWORD * ) ( @@v2@@ + Number ) == Number ) { if ( * ( _QWORD * ) ( @@v2@@ + Number ) == Number L ) { if ( * ( _QWORD * ) ( @@v2@@ + Number ) == Number L ) { if ( * ( _QWORD * ) ( @@v2@@ + Number ) == Number L ) { if ( * ( _QWORD * ) ( @@v2@@ + Number ) == Number L ) { @@result@@ = Number L ; } else { eprintf ( Number L , String , String , Number L , String ) ; @@result@@ = Number ; } } else { eprintf ( Number L , String , String , Number L , String ) ; @@result@@ = Number ; } } else { eprintf ( Number L , String , String , Number L , String ) ; @@result@@ = Number ; } } else { eprintf ( Number L , String , String , Number L , String ) ; @@result@@ = Number ; } } else { eprintf ( Number L , String , String , Number L , String ) ; @@result@@ = Number ; } } else { eprintf ( Number L , String , String , Number L , String ) ; @@result@@ = Number ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}]}
{"name": "perf_evlist__first", "code": "__int64 __fastcall perf_evlist__first ( __int64 @@a1@@ ) { return * ( _QWORD * ) @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "test__checkevent_pmu_name", "code": "__int64 __fastcall test__checkevent_pmu_name ( __int64 @@a1@@ ) { __int64 result ; const char * v2 ; const char * v3 ; __int64 v4 ; __int64 v5 ; v4 = perf_evlist__first ( @@a1@@ ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) { if ( * ( _DWORD * ) ( v4 + Number ) == Number ) { if ( * ( _QWORD * ) ( v4 + Number ) == Number L ) { v2 = ( const char * ) perf_evsel__name ( v4 ) ; if ( ! strcmp ( v2 , String ) ) { v5 = perf_evsel__next ( v4 ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) { if ( * ( _DWORD * ) ( v5 + Number ) == Number ) { if ( * ( _QWORD * ) ( v5 + Number ) == Number L ) { v3 = ( const char * ) perf_evsel__name ( v5 ) ; if ( ! strcmp ( v3 , String ) ) { result = Number L ; } else { eprintf ( Number L , String , String , Number L , String ) ; result = Number ; } } else { eprintf ( Number L , String , String , Number L , String ) ; result = Number ; } } else { eprintf ( Number L , String , String , Number L , String ) ; result = Number ; } } else { eprintf ( Number L , String , String , Number L , String ) ; result = Number ; } } else { eprintf ( Number L , String , String , Number L , String ) ; result = Number ; } } else { eprintf ( Number L , String , String , Number L , String ) ; result = Number ; } } else { eprintf ( Number L , String , String , Number L , String ) ; result = Number ; } } else { eprintf ( Number L , String , String , Number L , String ) ; result = Number ; } return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "test__checkevent_pmu_events", "code": "__int64 __fastcall test__checkevent_pmu_events ( __int64 * @@a1@@ ) { __int64 @@result@@ ; __int64 @@v2@@ ; @@v2@@ = * @@a1@@ ; if ( * ( ( _DWORD * ) @@a1@@ + Number ) == Number ) { if ( * ( _DWORD * ) ( @@v2@@ + Number ) == Number ) { if ( ( * ( _BYTE * ) ( @@v2@@ + Number ) & Number ) != Number ) { eprintf ( Number L , String , String , Number L , String ) ; @@result@@ = Number ; } else if ( ( * ( _BYTE * ) ( @@v2@@ + Number ) & Number ) != Number ) { if ( ( * ( _BYTE * ) ( @@v2@@ + Number ) & Number ) != Number ) { if ( ( * ( _DWORD * ) ( @@v2@@ + Number ) & Number ) != Number ) { eprintf ( Number L , String , String , Number L , String ) ; @@result@@ = Number ; } else { @@result@@ = Number L ; } } else { eprintf ( Number L , String , String , Number L , String ) ; @@result@@ = Number ; } } else { eprintf ( Number L , String , String , Number L , String ) ; @@result@@ = Number ; } } else { eprintf ( Number L , String , String , Number L , String ) ; @@result@@ = Number ; } } else { eprintf ( Number L , String , String , Number L , String ) ; @@result@@ = Number ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "__int64"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}]} {"name": "test_pmu_events", "code": "__int64 test_pmu_events ( ) { const char * v0 ; __int64 result ; unsigned int @@v2@@ ; DIR * @@dirp@@ ; struct dirent64 * @@v4@@ ; __int64 @@v5@@ [ Number ] ; struct stat64 @@v6@@ ; char @@v7@@ [ Number ] ; char @@s@@ [ Number ] ; unsigned __int64 @@v9@@ ; @@v9@@ = __readfsqword ( Number ) ; v0 = ( const char * ) sysfs_find_mountpoint ( ) ; snprintf ( @@s@@ , Number , String , v0 ) ; @@v2@@ = stat64 ( @@s@@ , & @@v6@@ ) ; if ( @@v2@@ ) { eprintf ( Number L , String ) ; result = Number L ; } else { @@dirp@@ = opendir ( @@s@@ ) ; if ( @@dirp@@ ) { while ( ! @@v2@@ ) { @@v4@@ = readdir64 ( @@dirp@@ ) ; if ( ! @@v4@@ ) break ; if ( strcmp ( @@v4@@ -> d_name , String ) ) { if ( strcmp ( @@v4@@ -> d_name , String ) ) { snprintf ( @@v7@@ , Number , String , @@v4@@ -> d_name ) ; @@v5@@ [ Number ] = ( __int64 ) @@v7@@ ; @@v5@@ [ Number ] = ( __int64 ) test__checkevent_pmu_events ; @@v2@@ = test_event ( @@v5@@ ) ; } } } closedir ( @@dirp@@ ) ; result = @@v2@@ ; } else { eprintf ( Number L , String ) ; result = Number ; } } return result ; }", "source": [{"n": "s", "t": {"T": 2, "n": 4104, "s": 1, "t": "char"}, "location": "s4112"}, {"n": "v7", "t": {"T": 2, "n": 112, "s": 1, "t": "char"}, "location": "s4224"}, {"n": "v6", "t": {"T": 6, "n": "struct stat64", "l": [{"T": 4, "n": "st_dev", "t": "__dev_t", "s": 8}, {"T": 4, "n": "st_ino", "t": "__ino64_t", "s": 8}, {"T": 4, "n": "st_nlink", "t": "__nlink_t", "s": 8}, {"T": 4, "n": "st_mode", "t": "__mode_t", "s": 4}, {"T": 4, "n": "st_uid", "t": "__uid_t", "s": 4}, {"T": 4, "n": "st_gid", "t": "__gid_t", "s": 4}, {"T": 4, "n": "__pad0", "t": "int", "s": 4}, {"T": 4, "n": "st_rdev", "t": "__dev_t", "s": 8}, {"T": 4, "n": "st_size", "t": "__off_t", "s": 8}, {"T": 4, "n": "st_blksize", "t": "__blksize_t", "s": 8}, {"T": 4, "n": "st_blocks", "t": "__blkcnt64_t", "s": 8}, {"T": 4, "n": "st_atim", "t": "timespec", "s": 16}, {"T": 4, "n": "st_mtim", "t": "timespec", "s": 16}, {"T": 4, "n": "st_ctim", "t": "timespec", "s": 16}, {"T": 4, "n": "__unused", "t": "__syscall_slong_t[3]", "s": 24}]}, "location": "s4368"}, {"n": "v5", "t": {"T": 2, "n": 4, "s": 8, "t": "__int64"}, "location": "s4400"}, {"n": "v4", "t": {"T": 3, "t": "struct dirent64"}, "location": "s4408"}, {"n": "dirp", "t": {"T": 3, "t": "DIR"}, "location": "s4416"}, {"n": "v2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4420"}, {"n": "v9", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}