mirror of
https://github.com/dobin/SuperMega
synced 2026-06-02 17:27:10 +00:00
refactor: move some stuff from exehost to superpe
This commit is contained in:
@@ -37,6 +37,22 @@ class SourceStyle(Enum):
|
||||
iat_reuse = "iat_reuse"
|
||||
|
||||
|
||||
|
||||
class PeRelocEntry():
|
||||
def __init__(self, rva: int, base_rva: int, type: str):
|
||||
self.rva: int = rva
|
||||
self.base_rva: int = base_rva
|
||||
self.offset: int = rva - base_rva
|
||||
self.type: str = type
|
||||
|
||||
|
||||
class IatEntry():
|
||||
def __init__(self, dll_name: str, func_name: str, iat_vaddr: int):
|
||||
self.dll_name: str = dll_name
|
||||
self.func_name: str = func_name
|
||||
self.iat_vaddr: int = iat_vaddr
|
||||
|
||||
|
||||
# no slash at end
|
||||
build_dir = "working/build"
|
||||
logs_dir = "working/logs"
|
||||
|
||||
Reference in New Issue
Block a user