Skip to content

Commit

Permalink
Resolve #1019
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed Feb 3, 2024
1 parent caafbcf commit f77b817
Show file tree
Hide file tree
Showing 9 changed files with 120 additions and 120 deletions.
2 changes: 1 addition & 1 deletion api/python/lief/ART.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class STORAGE_MODES:
LZ4: ClassVar[STORAGE_MODES] = ...
LZ4HC: ClassVar[STORAGE_MODES] = ...
UNCOMPRESSED: ClassVar[STORAGE_MODES] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
def __ge__(self, other) -> bool: ...
def __gt__(self, other) -> bool: ...
Expand Down
2 changes: 1 addition & 1 deletion api/python/lief/Android.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ANDROID_VERSIONS:
VERSION_800: ClassVar[ANDROID_VERSIONS] = ...
VERSION_810: ClassVar[ANDROID_VERSIONS] = ...
VERSION_900: ClassVar[ANDROID_VERSIONS] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.Android.ANDROID_VERSIONS: ...
Expand Down
8 changes: 4 additions & 4 deletions api/python/lief/DEX.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ACCESS_FLAGS:
UNKNOWN: ClassVar[ACCESS_FLAGS] = ...
VARARGS: ClassVar[ACCESS_FLAGS] = ...
VOLATILE: ClassVar[ACCESS_FLAGS] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
def __ge__(self, other) -> bool: ...
def __gt__(self, other) -> bool: ...
Expand Down Expand Up @@ -252,7 +252,7 @@ class MapItem(lief.Object):
STRING_ID: ClassVar[MapItem.TYPES] = ...
TYPE_ID: ClassVar[MapItem.TYPES] = ...
TYPE_LIST: ClassVar[MapItem.TYPES] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.DEX.MapItem.TYPES: ...
Expand Down Expand Up @@ -334,7 +334,7 @@ class Type(lief.Object):
LONG: ClassVar[Type.PRIMITIVES] = ...
SHORT: ClassVar[Type.PRIMITIVES] = ...
VOID_T: ClassVar[Type.PRIMITIVES] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
def __ge__(self, other) -> bool: ...
def __gt__(self, other) -> bool: ...
Expand All @@ -349,7 +349,7 @@ class Type(lief.Object):
CLASS: ClassVar[Type.TYPES] = ...
PRIMITIVE: ClassVar[Type.TYPES] = ...
UNKNOWN: ClassVar[Type.TYPES] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
def __ge__(self, other) -> bool: ...
def __gt__(self, other) -> bool: ...
Expand Down
66 changes: 33 additions & 33 deletions api/python/lief/ELF.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class AArch64Feature(NoteGnuProperty.Property):
BTI: ClassVar[AArch64Feature.FEATURE] = ...
PAC: ClassVar[AArch64Feature.FEATURE] = ...
UNKNOWN: ClassVar[AArch64Feature.FEATURE] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.AArch64Feature.FEATURE: ...
Expand Down Expand Up @@ -230,7 +230,7 @@ class ARCH:
XIMO16: ClassVar[ARCH] = ...
XTENSA: ClassVar[ARCH] = ...
ZSP: ClassVar[ARCH] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.ARCH: ...
Expand All @@ -257,7 +257,7 @@ class Binary(lief.Binary):
FILE_END: ClassVar[Binary.PHDR_RELOC] = ...
PIE_SHIFT: ClassVar[Binary.PHDR_RELOC] = ...
SEGMENT_GAP: ClassVar[Binary.PHDR_RELOC] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
def __ge__(self, other) -> bool: ...
def __gt__(self, other) -> bool: ...
Expand Down Expand Up @@ -602,7 +602,7 @@ class CoreAuxv(Note):
TGT_PLATFORM: ClassVar[CoreAuxv.TYPE] = ...
UCACHEBSIZE: ClassVar[CoreAuxv.TYPE] = ...
UID: ClassVar[CoreAuxv.TYPE] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.CoreAuxv.TYPE: ...
Expand Down Expand Up @@ -729,7 +729,7 @@ class CorePrStatus(Note):
X7: ClassVar[CorePrStatus.Registers.AARCH64] = ...
X8: ClassVar[CorePrStatus.Registers.AARCH64] = ...
X9: ClassVar[CorePrStatus.Registers.AARCH64] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.CorePrStatus.Registers.AARCH64: ...
Expand Down Expand Up @@ -761,7 +761,7 @@ class CorePrStatus(Note):
R7: ClassVar[CorePrStatus.Registers.ARM] = ...
R8: ClassVar[CorePrStatus.Registers.ARM] = ...
R9: ClassVar[CorePrStatus.Registers.ARM] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.CorePrStatus.Registers.ARM: ...
Expand Down Expand Up @@ -793,7 +793,7 @@ class CorePrStatus(Note):
GS: ClassVar[CorePrStatus.Registers.X86] = ...
ORIG_EAX: ClassVar[CorePrStatus.Registers.X86] = ...
SS: ClassVar[CorePrStatus.Registers.X86] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.CorePrStatus.Registers.X86: ...
Expand Down Expand Up @@ -829,7 +829,7 @@ class CorePrStatus(Note):
RSI: ClassVar[CorePrStatus.Registers.X86_64] = ...
RSP: ClassVar[CorePrStatus.Registers.X86_64] = ...
SS: ClassVar[CorePrStatus.Registers.X86_64] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.CorePrStatus.Registers.X86_64: ...
Expand Down Expand Up @@ -1043,7 +1043,7 @@ class DynamicEntry(lief.Object):
VERNEED: ClassVar[DynamicEntry.TAG] = ...
VERNEEDNUM: ClassVar[DynamicEntry.TAG] = ...
VERSYM: ClassVar[DynamicEntry.TAG] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.DynamicEntry.TAG: ...
Expand Down Expand Up @@ -1111,7 +1111,7 @@ class DynamicEntryFlags(DynamicEntry):
TEXTREL: ClassVar[DynamicEntryFlags.FLAG] = ...
TRANS: ClassVar[DynamicEntryFlags.FLAG] = ...
WEAKFILTER: ClassVar[DynamicEntryFlags.FLAG] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.DynamicEntryFlags.FLAG: ...
Expand Down Expand Up @@ -1199,7 +1199,7 @@ class Header(lief.Object):
ELF32: ClassVar[Header.CLASS] = ...
ELF64: ClassVar[Header.CLASS] = ...
NONE: ClassVar[Header.CLASS] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.Header.CLASS: ...
Expand All @@ -1217,7 +1217,7 @@ class Header(lief.Object):
LSB: ClassVar[Header.ELF_DATA] = ...
MSB: ClassVar[Header.ELF_DATA] = ...
NONE: ClassVar[Header.ELF_DATA] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.Header.ELF_DATA: ...
Expand All @@ -1237,7 +1237,7 @@ class Header(lief.Object):
EXEC: ClassVar[Header.FILE_TYPE] = ...
NONE: ClassVar[Header.FILE_TYPE] = ...
REL: ClassVar[Header.FILE_TYPE] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.Header.FILE_TYPE: ...
Expand Down Expand Up @@ -1273,7 +1273,7 @@ class Header(lief.Object):
STANDALONE: ClassVar[Header.OS_ABI] = ...
SYSTEMV: ClassVar[Header.OS_ABI] = ...
TRU64: ClassVar[Header.OS_ABI] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.Header.OS_ABI: ...
Expand All @@ -1290,7 +1290,7 @@ class Header(lief.Object):
class VERSION:
CURRENT: ClassVar[Header.VERSION] = ...
NONE: ClassVar[Header.VERSION] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.Header.VERSION: ...
Expand Down Expand Up @@ -1372,7 +1372,7 @@ class Note(lief.Object):
GO_BUILDID: ClassVar[Note.TYPE] = ...
STAPSDT: ClassVar[Note.TYPE] = ...
UNKNOWN: ClassVar[Note.TYPE] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.Note.TYPE: ...
Expand Down Expand Up @@ -1414,7 +1414,7 @@ class NoteAbi(Note):
NETBSD: ClassVar[NoteAbi.ABI] = ...
SOLARIS2: ClassVar[NoteAbi.ABI] = ...
SYLLABLE: ClassVar[NoteAbi.ABI] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.NoteAbi.ABI: ...
Expand Down Expand Up @@ -1444,7 +1444,7 @@ class NoteGnuProperty(Note):
UNKNOWN: ClassVar[NoteGnuProperty.Property.TYPE] = ...
X86_FEATURE: ClassVar[NoteGnuProperty.Property.TYPE] = ...
X86_ISA: ClassVar[NoteGnuProperty.Property.TYPE] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.NoteGnuProperty.Property.TYPE: ...
Expand Down Expand Up @@ -1531,7 +1531,7 @@ class PROCESSOR_FLAGS:
MIPS_NAN2008: ClassVar[PROCESSOR_FLAGS] = ...
MIPS_NOREORDER: ClassVar[PROCESSOR_FLAGS] = ...
MIPS_PIC: ClassVar[PROCESSOR_FLAGS] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.PROCESSOR_FLAGS: ...
Expand All @@ -1551,7 +1551,7 @@ class ParserConfig:
HASH: ClassVar[ParserConfig.DYNSYM_COUNT] = ...
RELOCATIONS: ClassVar[ParserConfig.DYNSYM_COUNT] = ...
SECTION: ClassVar[ParserConfig.DYNSYM_COUNT] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.ParserConfig.DYNSYM_COUNT: ...
Expand Down Expand Up @@ -1581,7 +1581,7 @@ class Relocation(lief.Relocation):
NONE: ClassVar[Relocation.PURPOSE] = ...
OBJECT: ClassVar[Relocation.PURPOSE] = ...
PLTGOT: ClassVar[Relocation.PURPOSE] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.Relocation.PURPOSE: ...
Expand Down Expand Up @@ -2522,7 +2522,7 @@ class Relocation(lief.Relocation):
X86_TLS_LE_32: ClassVar[Relocation.TYPE] = ...
X86_TLS_TPOFF: ClassVar[Relocation.TYPE] = ...
X86_TLS_TPOFF32: ClassVar[Relocation.TYPE] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.Relocation.TYPE: ...
Expand Down Expand Up @@ -2584,7 +2584,7 @@ class Section(lief.Section):
X86_64_LARGE: ClassVar[Section.FLAGS] = ...
XCORE_SHF_CP_SECTION: ClassVar[Section.FLAGS] = ...
XCORE_SHF_DP_SECTION: ClassVar[Section.FLAGS] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.Section.FLAGS: ...
Expand Down Expand Up @@ -2666,7 +2666,7 @@ class Section(lief.Section):
SYMTAB: ClassVar[Section.TYPE] = ...
SYMTAB_SHNDX: ClassVar[Section.TYPE] = ...
X86_64_UNWIND: ClassVar[Section.TYPE] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.Section.TYPE: ...
Expand Down Expand Up @@ -2726,7 +2726,7 @@ class Segment(lief.Object):
R: ClassVar[Segment.FLAGS] = ...
W: ClassVar[Segment.FLAGS] = ...
X: ClassVar[Segment.FLAGS] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.Segment.FLAGS: ...
Expand Down Expand Up @@ -2791,7 +2791,7 @@ class Segment(lief.Object):
RISCV_ATTRIBUTES: ClassVar[Segment.TYPE] = ...
SHLIB: ClassVar[Segment.TYPE] = ...
TLS: ClassVar[Segment.TYPE] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.Segment.TYPE: ...
Expand Down Expand Up @@ -2853,7 +2853,7 @@ class Symbol(lief.Symbol):
GNU_UNIQUE: ClassVar[Symbol.BINDING] = ...
LOCAL: ClassVar[Symbol.BINDING] = ...
WEAK: ClassVar[Symbol.BINDING] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.Symbol.BINDING: ...
Expand All @@ -2876,7 +2876,7 @@ class Symbol(lief.Symbol):
OBJECT: ClassVar[Symbol.TYPE] = ...
SECTION: ClassVar[Symbol.TYPE] = ...
TLS: ClassVar[Symbol.TYPE] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.Symbol.TYPE: ...
Expand All @@ -2895,7 +2895,7 @@ class Symbol(lief.Symbol):
HIDDEN: ClassVar[Symbol.VISIBILITY] = ...
INTERNAL: ClassVar[Symbol.VISIBILITY] = ...
PROTECTED: ClassVar[Symbol.VISIBILITY] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.Symbol.VISIBILITY: ...
Expand Down Expand Up @@ -3016,7 +3016,7 @@ class X86Features(NoteGnuProperty.Property):
XSAVEOPT: ClassVar[X86Features.FEATURE] = ...
YMM: ClassVar[X86Features.FEATURE] = ...
ZMM: ClassVar[X86Features.FEATURE] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.X86Features.FEATURE: ...
Expand All @@ -3034,7 +3034,7 @@ class X86Features(NoteGnuProperty.Property):
NEEDED: ClassVar[X86Features.FLAG] = ...
NONE: ClassVar[X86Features.FLAG] = ...
USED: ClassVar[X86Features.FLAG] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.X86Features.FLAG: ...
Expand All @@ -3056,7 +3056,7 @@ class X86ISA(NoteGnuProperty.Property):
NEEDED: ClassVar[X86ISA.FLAG] = ...
NONE: ClassVar[X86ISA.FLAG] = ...
USED: ClassVar[X86ISA.FLAG] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.X86ISA.FLAG: ...
Expand Down Expand Up @@ -3104,7 +3104,7 @@ class X86ISA(NoteGnuProperty.Property):
V2: ClassVar[X86ISA.ISA] = ...
V3: ClassVar[X86ISA.ISA] = ...
V4: ClassVar[X86ISA.ISA] = ...
__name__: Any
__name__: str
def __init__(self, *args, **kwargs) -> None: ...
@staticmethod
def from_value(arg: int, /) -> lief.ELF.X86ISA.ISA: ...
Expand Down
Loading

0 comments on commit f77b817

Please sign in to comment.