forked from gdbinit/MachOView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ObjC.h
77 lines (60 loc) · 2.93 KB
/
ObjC.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*
* ObjC.h
* MachOView
*
* Created by Peter Saghelyi on 17/10/2011.
*
*/
#import "MachOLayout.h"
typedef std::vector<uint32_t> PointerVector;
typedef std::vector<uint64_t> Pointer64Vector;
@interface MachOLayout (ObjC)
- (MVNode *)createObjCCFStringsNode:(MVNode *)parent
caption:(NSString *)caption
location:(uint64_t)location
length:(uint64_t)length;
- (MVNode *)createObjCCFStrings64Node:(MVNode *)parent
caption:(NSString *)caption
location:(uint64_t)location
length:(uint64_t)length;
- (MVNode *)createObjCImageInfoNode:(MVNode *)parent
caption:(NSString *)caption
location:(uint64_t)location
length:(uint64_t)length;
- (MVNode *)createObjCModulesNode:(MVNode *)parent
caption:(NSString *)caption
location:(uint64_t)location
length:(uint64_t)length;
- (MVNode *)createObjCClassExtNode:(MVNode *)parent
caption:(NSString *)caption
location:(uint64_t)location
length:(uint64_t)length;
- (MVNode *)createObjCProtocolExtNode:(MVNode *)parent
caption:(NSString *)caption
location:(uint64_t)location
length:(uint64_t)length;
- (MVNode *)createObjC2PointerListNode:(MVNode *)parent
caption:(NSString *)caption
location:(uint64_t)location
length:(uint64_t)length
pointers:(PointerVector &)pointers;
- (MVNode *)createObjC2Pointer64ListNode:(MVNode *)parent
caption:(NSString *)caption
location:(uint64_t)location
length:(uint64_t)length
pointers:(Pointer64Vector &)pointers;
- (MVNode *)createObjC2MsgRefsNode:(MVNode *)parent
caption:(NSString *)caption
location:(uint64_t)location
length:(uint64_t)length;
- (MVNode *)createObjC2MsgRefs64Node:(MVNode *)parent
caption:(NSString *)caption
location:(uint64_t)location
length:(uint64_t)length;
-(void)parseObjC2ClassPointers:(PointerVector const *)classes
CategoryPointers:(PointerVector const *)categories
ProtocolPointers:(PointerVector const *)protocols;
-(void)parseObjC2Class64Pointers:(Pointer64Vector const *)classes
Category64Pointers:(Pointer64Vector const *)categories
Protocol64Pointers:(Pointer64Vector const *)protocols;
@end