{"name": "test__syscall_open_tp_fields", "code": "__int64 test__syscall_open_tp_fields ( ) { __int64 @@v0@@ ; int * v1 ; char * v2 ; int * v3 ; char * v4 ; int @@v6@@ ; unsigned int @@v7@@ ; int @@v8@@ ; int @@v9@@ ; int @@v10@@ ; unsigned int @@v11@@ ; __int64 @@v12@@ ; __int64 @@v13@@ ; _DWORD * @@v14@@ ; int @@v15@@ [ Number ] ; char @@v16@@ [ Number ] ; unsigned __int64 @@v17@@ ; @@v17@@ = __readfsqword ( Number ) ; memset ( @@v15@@ , Number , Number ) ; @@v15@@ [ Number ] = Number ; BYTE1 ( @@v15@@ [ Number ] ) = Number ; BYTE2 ( @@v15@@ [ Number ] ) = Number ; BYTE2 ( @@v15@@ [ Number ] ) = Number ; @@v15@@ [ Number ] = Number ; @@v15@@ [ Number ] = Number ; @@v12@@ = perf_evlist__new ( ) ; @@v6@@ = Number ; @@v8@@ = Number ; @@v9@@ = Number ; if ( @@v12@@ ) { @@v13@@ = perf_evsel__newtp ( String , String , Number L ) ; if ( @@v13@@ ) { perf_evlist__add ( @@v12@@ , @@v13@@ ) ; @@v6@@ = perf_evlist__create_maps ( @@v12@@ , @@v15@@ ) ; if ( @@v6@@ >= Number ) { perf_evsel__config ( @@v13@@ , @@v15@@ ) ; @@v0@@ = * ( _QWORD * ) ( @@v12@@ + Number ) ; * ( _DWORD * ) ( @@v0@@ + Number ) = getpid ( ) ; @@v6@@ = perf_evlist__open ( @@v12@@ ) ; if ( @@v6@@ >= Number ) { @@v6@@ = perf_evlist__mmap ( @@v12@@ , Number , Number L ) ; if ( @@v6@@ >= Number ) { perf_evlist__enable ( @@v12@@ ) ; open64 ( String , Number ) ; while ( Number ) { @@v10@@ = @@v8@@ ; @@v7@@ = Number ; LABEL_20 : if ( ( signed int ) @@v7@@ < * ( _DWORD * ) ( @@v12@@ + Number ) ) break ; if ( @@v8@@ == @@v10@@ ) poll ( * ( struct pollfd * * ) ( @@v12@@ + Number ) , * ( int * ) ( @@v12@@ + Number ) , Number ) ; if ( ++ @@v9@@ > Number ) { eprintf ( Number L , String , String ) ; goto LABEL_26 ; } } do { @@v14@@ = ( _DWORD * ) perf_evlist__mmap_read ( @@v12@@ , @@v7@@ ) ; if ( ! @@v14@@ ) { ++ @@v7@@ ; goto LABEL_20 ; } ++ @@v8@@ ; } while ( * @@v14@@ != Number ) ; @@v6@@ = perf_evsel__parse_sample ( @@v13@@ , @@v14@@ , @@v16@@ ) ; if ( @@v6@@ ) { eprintf ( Number L , String , ( unsigned int ) @@v6@@ ) ; } else { @@v11@@ = perf_evsel__intval ( @@v13@@ , @@v16@@ , String ) ; if ( @@v11@@ == Number ) @@v6@@ = Number ; else eprintf ( Number L , String , String , Number , @@v11@@ ) ; } LABEL_26 : perf_evlist__munmap ( @@v12@@ ) ; } else { v3 = _errno_location ( ) ; v4 = strerror ( * v3 ) ; eprintf ( Number L , String , v4 ) ; } perf_evlist__close ( @@v12@@ ) ; } else { v1 = _errno_location ( ) ; v2 = strerror ( * v1 ) ; eprintf ( Number L , String , v2 ) ; } perf_evlist__delete_maps ( @@v12@@ ) ; } else { eprintf ( Number L , String , String ) ; } } else { eprintf ( Number L , String , String ) ; } perf_evlist__delete ( @@v12@@ ) ; } else { eprintf ( Number L , String , String ) ; } return ( unsigned int ) @@v6@@ ; }", "source": [{"n": "v0", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r32"}, {"n": "v16", "t": {"T": 2, "n": 136, "s": 1, "t": "char"}, "location": "s160"}, {"n": "v17", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "v15", "t": {"T": 2, "n": 28, "s": 4, "t": "int"}, "location": "s272"}, {"n": "v14", "t": {"T": 3, "t": "_DWORD"}, "location": "s280"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s288"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s296"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s308"}, {"n": "v10", "t": {"T": 1, "n": "int", "s": 4}, "location": "s316"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "s324"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s328"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s332"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s336"}]}