Add support for Mach-O LC_SUBCLIENT command

This commit is contained in:
Romain Thomas
2024-07-27 05:01:30 +02:00
parent 999daa3ce7
commit 4800a80769
27 changed files with 467 additions and 4 deletions
+14 -1
View File
@@ -125,6 +125,13 @@ class Binary(lief.Binary):
def __len__(self) -> int: ...
def __next__(self) -> lief.MachO.SegmentCommand: ...
class it_sub_clients:
def __init__(self, *args, **kwargs) -> None: ...
def __getitem__(self, arg: int, /) -> lief.MachO.SubClient: ...
def __iter__(self) -> lief.MachO.Binary.it_sub_clients: ...
def __len__(self) -> int: ...
def __next__(self) -> lief.MachO.SubClient: ...
class it_symbols:
def __init__(self, *args, **kwargs) -> None: ...
def __getitem__(self, arg: int, /) -> lief.MachO.Symbol: ...
@@ -274,7 +281,7 @@ class Binary(lief.Binary):
@property
def has_source_version(self) -> bool: ...
@property
def has_sub_framework(self) -> bool: ...
def has_subclients(self) -> bool: ...
@property
def has_symbol_command(self) -> bool: ...
@property
@@ -322,6 +329,8 @@ class Binary(lief.Binary):
@property
def sub_framework(self) -> lief.MachO.SubFramework: ...
@property
def subclients(self) -> lief.MachO.Binary.it_sub_clients: ...
@property
def support_arm64_ptr_auth(self) -> bool: ...
@property
def symbol_command(self) -> lief.MachO.SymbolCommand: ...
@@ -1521,6 +1530,10 @@ class SourceVersion(LoadCommand):
version: list[int]
def __init__(self, *args, **kwargs) -> None: ...
class SubClient(LoadCommand):
client: str
def __init__(self, *args, **kwargs) -> None: ...
class SubFramework(LoadCommand):
umbrella: str
def __init__(self, *args, **kwargs) -> None: ...