MCPcopy Create free account
hub / github.com/dobin/SuperMega / DataReuseEntry

Class DataReuseEntry

model/injectable.py:28–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27
28class DataReuseEntry():
29 def __init__(self, string_ref: str, in_code: bool = False):
30 self.string_ref: str = string_ref # "$SG72513"
31 self.data: bytes = b'' # the content/data
32 self.addr: int = 0 # where content/data is stored
33 self.in_code: bool = in_code # is the data in code section
34
35 self.references: List[DataReuseReference] = []
36
37
38 def add_reference(self, placeholder, register):
39 self.references.append(DataReuseReference(placeholder, register))
40
41
42class Injectable():

Callers 6

start_realFunction · 0.90
test_asm_fixupMethod · 0.90
test_asm_iat_requestMethod · 0.90
test_data_reuse_fixupMethod · 0.90
parse_asm_text_fileFunction · 0.90

Calls

no outgoing calls

Tested by 4

test_asm_fixupMethod · 0.72
test_asm_iat_requestMethod · 0.72
test_data_reuse_fixupMethod · 0.72