MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / CacheRegion

Class CacheRegion

view/sharedcache/api/python/sharedcache.py:13–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12@dataclasses.dataclass
13class CacheRegion:
14 region_type: SharedCacheRegionType
15 name: str
16 start: int
17 size: int
18 image_start: int
19 # TODO: Might want to make this use the BN segment flag enum?
20 flags: sccore.SegmentFlagEnum
21
22 def __str__(self):
23 return repr(self)
24
25 def __repr__(self):
26 return f"<CacheRegion '{self.name}': 0x{self.start:x} + {self.size:x}>"
27
28@dataclasses.dataclass
29class CacheImage:

Callers 1

region_from_apiFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected