{"name": "machine__create_modules", "code": "__int64 __fastcall machine__create_modules ( __int64 @@a1@@ ) { int @@v2@@ ; char * @@lineptr@@ ; size_t @@n@@ ; __int64 @@v5@@ ; char * @@filename@@ ; FILE * @@stream@@ ; char * @@v8@@ ; _QWORD * @@v9@@ ; char @@s@@ [ Number ] ; char @@v11@@ [ Number ] ; unsigned __int64 @@v12@@ ; @@v12@@ = __readfsqword ( Number ) ; @@lineptr@@ = Number L ; if ( machine__is_default_guest ( @@a1@@ ) ) { @@filename@@ = ( char * ) * ( ( _QWORD * ) & symbol_conf + Number ) ; } else { sprintf ( @@s@@ , String , * ( const char * * ) ( @@a1@@ + Number ) ) ; @@filename@@ = @@s@@ ; } if ( symbol__restricted_filename ( @@s@@ , String ) ) return Number ; @@stream@@ = fopen64 ( @@filename@@ , String ) ; if ( ! @@stream@@ ) return Number ; while ( Number ) { if ( feof ( @@stream@@ ) || ( @@v2@@ = getline ( & @@lineptr@@ , & @@n@@ , @@stream@@ ) , @@v2@@ < Number ) ) { free ( @@lineptr@@ ) ; fclose ( @@stream@@ ) ; return machine__set_modules_path ( @@a1@@ ) ; } if ( ! @@lineptr@@ ) break ; @@lineptr@@ [ @@v2@@ - Number ] = Number ; @@v8@@ = strrchr ( @@lineptr@@ , Number ) ; if ( @@v8@@ ) { hex2u64 ( @@v8@@ + Number , & @@v5@@ ) ; @@v8@@ = strchr ( @@lineptr@@ , Number ) ; if ( @@v8@@ ) { * @@v8@@ = Number ; snprintf ( @@v11@@ , Number , String , @@lineptr@@ ) ; @@v9@@ = machine__new_module ( @@a1@@ , @@v5@@ , ( __int64 ) @@v11@@ ) ; if ( ! @@v9@@ ) { free ( @@lineptr@@ ) ; return Number ; } dso__kernel_module_get_build_id ( @@v9@@ [ Number ] , * ( const char * * ) ( @@a1@@ + Number ) ) ; } } } return Number ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v11", "t": {"T": 2, "n": 4104, "s": 1, "t": "char"}, "location": "s4112"}, {"n": "v12", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}, {"n": "s", "t": {"T": 2, "n": 4096, "s": 1, "t": "char"}, "location": "s8208"}, {"n": "v9", "t": {"T": 3, "t": "_QWORD"}, "location": "s8216"}, {"n": "v8", "t": {"T": 3, "t": "char"}, "location": "s8224"}, {"n": "stream", "t": {"T": 3, "t": "FILE"}, "location": "s8232"}, {"n": "filename", "t": {"T": 3, "t": "char"}, "location": "s8240"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8248"}, {"n": "n", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "s8256"}, {"n": "lineptr", "t": {"T": 3, "t": "char"}, "location": "s8264"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8268"}]}