File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 66#include <r_util.h>
77#include <r_asm.h>
88
9+ #if 0
910#include "../../bin/format/pyc/pyc_magic.h"
11+ #else
12+ struct pyc_version {
13+ ut32 magic ;
14+ const char * version ;
15+ const char * revision ;
16+ };
17+
18+ typedef struct {
19+ ut64 code_start_offset ;
20+ struct pyc_version version ;
21+ RList * sections_cache ; // RList<RBinSection*>
22+ RList * interned_table ; // RList<char*>
23+ RList * cobjs ; // RList<pyc_code_object*>
24+ } RBinPycObj ;
25+ #endif
26+
1027#include "opcode.h"
1128
1229typedef struct {
Original file line number Diff line number Diff line change @@ -11,15 +11,14 @@ struct pyc_version {
1111 const char * version ;
1212 const char * revision ;
1313};
14- #if 1
14+
1515typedef struct {
1616 ut64 code_start_offset ;
1717 struct pyc_version version ;
1818 RList * sections_cache ; // RList<RBinSection*>
1919 RList * interned_table ; // RList<char*>
2020 RList * cobjs ; // RList<pyc_code_object*>
2121} RBinPycObj ;
22- #endif
2322
2423struct pyc_version get_pyc_version (ut32 magic );
2524
You can’t perform that action at this time.
0 commit comments