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 6
6
#include <r_util.h>
7
7
#include <r_asm.h>
8
8
9
+ #if 0
9
10
#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
+
10
27
#include "opcode.h"
11
28
12
29
typedef struct {
Original file line number Diff line number Diff line change @@ -11,15 +11,14 @@ struct pyc_version {
11
11
const char * version ;
12
12
const char * revision ;
13
13
};
14
- #if 1
14
+
15
15
typedef struct {
16
16
ut64 code_start_offset ;
17
17
struct pyc_version version ;
18
18
RList * sections_cache ; // RList<RBinSection*>
19
19
RList * interned_table ; // RList<char*>
20
20
RList * cobjs ; // RList<pyc_code_object*>
21
21
} RBinPycObj ;
22
- #endif
23
22
24
23
struct pyc_version get_pyc_version (ut32 magic );
25
24
You can’t perform that action at this time.
0 commit comments