sdkagent

pyelftools API reference

233 public APIs from pyelftools (eliben/pyelftools) — 104 classes, 64 functions, 65 methods. Signatures extracted by static analysis of the actual source.

Repository: eliben/pyelftools

KindCount
Classes104
Functions64
Methods65

API list

classelftools.common.construct_utils.SLEB128
A construct based parser for SLEB128 encoding.
classelftools.common.construct_utils.UBInt24
unsigned, big endian 24-bit integer
classelftools.common.construct_utils.ULEB128
A construct based parser for ULEB128 encoding.
classelftools.common.construct_utils.ULInt24
unsigned, little endian 24-bit integer
funcelftools.common.utils.bytes2str(b:bytes) -> str
Decode a bytes object into a string.
funcelftools.common.utils.dwarf_assert(cond:object, msg:str='') -> None
Assert that cond is True, otherwise raise DWARFError(msg)
funcelftools.common.utils.elf_assert(cond:object, msg:str='') -> None
Assert that cond is True, otherwise raise ELFError(msg)
funcelftools.common.utils.merge_dicts(*dicts:Mapping[_K, _V]) -> dict[_K, _V]
Given any number of dicts, merges them into a new one.
funcelftools.common.utils.parse_cstring_from_stream(stream:IO[bytes], stream_pos:int | None=None) -> bytes | None
Parse a C-string from the given stream.
funcelftools.common.utils.roundup(num:int, bits:int) -> int
Round up a number to nearest multiple of 2^bits.
classelftools.construct.adapters.ConstAdapter
Adapter for enforcing a constant value ("magic numbers").
classelftools.construct.adapters.FlagsAdapter
Adapter for flag fields.
classelftools.construct.adapters.HexDumpAdapter
Adapter for hex-dumping strings.
classelftools.construct.adapters.LengthValueAdapter
Adapter for length-value pairs.
classelftools.construct.adapters.MappingAdapter
Adapter that maps objects to other objects.
classelftools.construct.adapters.NoneOf
Validates that the object is none of the listed values.
classelftools.construct.adapters.OneOf
Validates that the object is one of the listed values.
classelftools.construct.adapters.PaddedStringAdapter
Adapter for padded strings.
classelftools.construct.adapters.PaddingAdapter
Adapter for padding.
classelftools.construct.adapters.StringAdapter
Adapter for strings.
classelftools.construct.adapters.TunnelAdapter
Adapter for tunneling (as in protocol tunneling).
classelftools.construct.core.Adapter
Abstract adapter: calls _decode for parsing and _encode for building.
classelftools.construct.core.Construct
The mother of all constructs.
methodelftools.construct.core.Construct.build(obj:Any) -> bytes
Build an object in memory.
methodelftools.construct.core.Construct.build_stream(obj:Any, stream:IO[bytes]) -> None
Build an object directly into a stream.
methodelftools.construct.core.Construct.parse(data:bytes) -> Any
Parse an in-memory buffer.
methodelftools.construct.core.Construct.parse_stream(stream:IO[bytes]) -> Any
Parse a stream.
methodelftools.construct.core.Construct.sizeof(context:Container | None=None) -> int
Calculate the size of this object, optionally using a context.
classelftools.construct.core.FormatField
A field that uses ``struct`` to pack and unpack data.
classelftools.construct.core.MetaArray
An array (repeater) of a meta-count.
classelftools.construct.core.MetaField
A variable-length field.
classelftools.construct.core.OnDemand
Allows for on-demand (lazy) parsing.
classelftools.construct.core.Range
A range-array.
classelftools.construct.core.Reconfig
Reconfigures a subconstruct.
classelftools.construct.core.RepeatUntil
An array that repeats until the predicate indicates it to stop.
classelftools.construct.core.Select
Selects the first matching subconstruct.
classelftools.construct.core.Sequence
A sequence of unnamed constructs.
classelftools.construct.core.StaticField
A fixed-size byte field.
classelftools.construct.core.Struct
A sequence of named constructs, similar to structs in C.
classelftools.construct.core.Subconstruct
Abstract subconstruct (wraps an inner construct, inheriting its name and flags).
classelftools.construct.core.Switch
A conditional branch.
classelftools.construct.core.Union
a set of overlapping fields (like unions in C).
classelftools.construct.core.Value
A computed value.
classelftools.construct.debug.Debugger
A pdb-based debugger.
funcelftools.construct.lib.binary.bin_to_int(bits:bytes, signed:bool=False) -> int
Logical opposite of int_to_bin.
funcelftools.construct.lib.binary.decode_bin(data:bytes) -> bytes
Logical opposite of decode_bin.
funcelftools.construct.lib.binary.encode_bin(data:bytes) -> bytes
Create a binary representation of the given b'' object.
funcelftools.construct.lib.binary.swap_bytes(bits:bytes, bytesize:int=8) -> bytes
Bits is a b'' object containing a binary representation.
classelftools.construct.lib.container.Container
A generic container of attributes.
classelftools.construct.lib.container.FlagsContainer
A container providing pretty-printing for flags.
classelftools.construct.lib.container.ListContainer
A container for lists.
funcelftools.construct.lib.hex.hexdump(data:bytes, linesize:int) -> list[str]
data is a bytes object.
funcelftools.construct.macros.Array(count:Length, subcon:Construct) -> MetaArray
Repeats the given unit a fixed number of times.
funcelftools.construct.macros.BFloat32(name:str) -> FormatField[float]
big endian, 32-bit IEEE floating point number
funcelftools.construct.macros.BFloat64(name:str) -> FormatField[float]
big endian, 64-bit IEEE floating point number
funcelftools.construct.macros.Bit(name:str) -> BitIntegerAdapter
a 1-bit BitField; must be enclosed in a BitStruct
funcelftools.construct.macros.CString(name:str, terminators:bytes=b'\x00', encoding:str | None=None, char_field:Construct=Field(None, 1)) -> Reconfig
A string ending in a terminator.
funcelftools.construct.macros.Embedded(subcon:Construct) -> Reconfig
embeds a struct into the enclosing struct.
funcelftools.construct.macros.EmbeddedBitStruct(*subcons:Construct) -> Subconstruct
an embedded BitStruct.
funcelftools.construct.macros.Enum(subcon:Construct, **kw:Any) -> MappingAdapter
a set of named values mapping.
funcelftools.construct.macros.Field(name:str | None, length:Length) -> MetaField | StaticField
A field consisting of a specified number of bytes.
funcelftools.construct.macros.Flag(name:str, truth:int=1, falsehood:int=0, default:bool=False) -> MappingAdapter
A flag.
funcelftools.construct.macros.FlagsEnum(subcon:Construct, **kw:Any) -> FlagsAdapter
a set of flag values mapping.
funcelftools.construct.macros.GreedyRange(subcon:Construct) -> Range
Repeats the given unit one or more times.
funcelftools.construct.macros.LFloat32(name:str) -> FormatField[float]
little endian, 32-bit IEEE floating point number
funcelftools.construct.macros.LFloat64(name:str) -> FormatField[float]
little endian, 64-bit IEEE floating point number
funcelftools.construct.macros.NFloat32(name:str) -> FormatField[float]
native endianity, 32-bit IEEE floating point number
funcelftools.construct.macros.NFloat64(name:str) -> FormatField[float]
native endianity, 64-bit IEEE floating point number
funcelftools.construct.macros.Nibble(name:str) -> BitIntegerAdapter
a 4-bit BitField; must be enclosed in a BitStruct
funcelftools.construct.macros.Octet(name:str) -> BitIntegerAdapter
an 8-bit BitField; must be enclosed in a BitStruct
funcelftools.construct.macros.OnDemandPointer(offsetfunc:Callable[[Container], int], subcon:Construct, force_build:bool=True) -> OnDemand
an on-demand pointer.
funcelftools.construct.macros.Optional(subcon:Construct) -> Select
an optional construct.
funcelftools.construct.macros.OptionalGreedyRange(subcon:Construct) -> Range
Repeats the given unit zero or more times.
funcelftools.construct.macros.PascalString(name:str, length_field:FormatField[int]=UBInt8('length'), encoding:str | None=None) -> StringAdapter
A length-prefixed string.
funcelftools.construct.macros.PrefixedArray(subcon:Construct, length_field:Construct=UBInt8('length')) -> LengthValueAdapter
an array prefixed by a length field.
funcelftools.construct.macros.SBInt16(name:str) -> FormatField[int]
signed, big endian 16-bit integer
funcelftools.construct.macros.SBInt32(name:str) -> FormatField[int]
signed, big endian 32-bit integer
funcelftools.construct.macros.SBInt64(name:str) -> FormatField[int]
signed, big endian 64-bit integer
funcelftools.construct.macros.SBInt8(name:str) -> FormatField[int]
signed, big endian 8-bit integer
funcelftools.construct.macros.SLInt16(name:str) -> FormatField[int]
signed, little endian 16-bit integer
funcelftools.construct.macros.SLInt32(name:str) -> FormatField[int]
signed, little endian 32-bit integer
funcelftools.construct.macros.SLInt64(name:str) -> FormatField[int]
signed, little endian 64-bit integer
funcelftools.construct.macros.SLInt8(name:str) -> FormatField[int]
signed, little endian 8-bit integer
funcelftools.construct.macros.SNInt16(name:str) -> FormatField[int]
signed, native endianity 16-bit integer
funcelftools.construct.macros.SNInt32(name:str) -> FormatField[int]
signed, native endianity 32-bit integer
funcelftools.construct.macros.SNInt64(name:str) -> FormatField[int]
signed, native endianity 64-bit integer
funcelftools.construct.macros.SNInt8(name:str) -> FormatField[int]
signed, native endianity 8-bit integer
funcelftools.construct.macros.SeqOfOne(name:str | None, *args:Construct, **kw:bool) -> IndexingAdapter
a sequence of one element.
funcelftools.construct.macros.SymmetricMapping(subcon:Construct, mapping:Mapping[Any, Any], default:Hashable | _Pass=NotImplemented) -> MappingAdapter
defines a symmetrical mapping: a->b, b->a.
funcelftools.construct.macros.UBInt16(name:str) -> FormatField[int]
unsigned, big endian 16-bit integer
funcelftools.construct.macros.UBInt32(name:str) -> FormatField[int]
unsigned, big endian 32-bit integer
funcelftools.construct.macros.UBInt64(name:str) -> FormatField[int]
unsigned, big endian 64-bit integer
funcelftools.construct.macros.UBInt8(name:str) -> FormatField[int]
unsigned, big endian 8-bit integer
funcelftools.construct.macros.ULInt16(name:str) -> FormatField[int]
unsigned, little endian 16-bit integer
funcelftools.construct.macros.ULInt32(name:str) -> FormatField[int]
unsigned, little endian 32-bit integer
funcelftools.construct.macros.ULInt64(name:str) -> FormatField[int]
unsigned, little endian 64-bit integer
funcelftools.construct.macros.ULInt8(name:str) -> FormatField[int]
unsigned, little endian 8-bit integer
funcelftools.construct.macros.UNInt16(name:str) -> FormatField[int]
unsigned, native endianity 16-bit integer
funcelftools.construct.macros.UNInt32(name:str) -> FormatField[int]
unsigned, native endianity 32-bit integer
funcelftools.construct.macros.UNInt64(name:str) -> FormatField[int]
unsigned, native endianity 64-bit integer
funcelftools.construct.macros.UNInt8(name:str) -> FormatField[int]
unsigned, native endianity 8-bit integer
classelftools.dwarf.abbrevtable.AbbrevTable
Represents a DWARF abbreviation table.
methodelftools.dwarf.abbrevtable.AbbrevTable.get_abbrev(code:int) -> AbbrevDecl
Get the AbbrevDecl for a given code.
classelftools.dwarf.callframe.CFARule
A CFA rule is used to compute the CFA for each location.
classelftools.dwarf.callframe.CFIEntry
A common base class for CFI entries.
classelftools.dwarf.callframe.CallFrameInstruction
An instruction in the CFI section.
classelftools.dwarf.callframe.RegisterRule
Register rules are used to find registers in call frames.
classelftools.dwarf.callframe.ZERO
End marker for the sequence of CIE/FDE.
funcelftools.dwarf.callframe.instruction_name(opcode:DW_CFA) -> str
Given an opcode, return the instruction name.
classelftools.dwarf.compileunit.CompileUnit
A DWARF compilation unit (CU).
methodelftools.dwarf.compileunit.CompileUnit.dwarf_format() -> int
Get the DWARF format (32 or 64) for this CU
methodelftools.dwarf.compileunit.CompileUnit.get_DIE_from_refaddr(refaddr:int) -> DIE
Obtain a DIE contained in this CU from a reference.
classelftools.dwarf.constants.DW_ACCESS
Access.
classelftools.dwarf.constants.DW_ATE
Encodings.
classelftools.dwarf.constants.DW_CC
Calling conventions.
classelftools.dwarf.constants.DW_CFA
Call frame instructions.
methodelftools.dwarf.constants.DW_CFA.parse_raw_opcode(opcode:int, *__MASK:int=192) -> tuple[Self, int] | tuple[Self]
Extract primary or extended opcode from raw byte.
classelftools.dwarf.constants.DW_ID
ID cases.
classelftools.dwarf.constants.DW_INL
Inline codes.
classelftools.dwarf.constants.DW_LANG
Source languages.
classelftools.dwarf.constants.DW_LNCT
Line program header content types.
classelftools.dwarf.constants.DW_LNE
Line program extended opcodes.
classelftools.dwarf.constants.DW_LNS
Line program opcodes.
classelftools.dwarf.constants.DW_ORD
Orderings.
classelftools.dwarf.constants.DW_UT
Compilation unit types.
classelftools.dwarf.constants.DW_VIRTUALITY
Virtuality.
classelftools.dwarf.constants.DW_VIS
Visibility.
funcelftools.dwarf.descriptions.describe_form_class(form:str) -> str | None
For a given form name, determine its value class.
classelftools.dwarf.die.DIE
A DWARF debugging information entry.
methodelftools.dwarf.die.DIE.get_DIE_from_attribute(name:str) -> DIE
Return the DIE referenced by the named attribute of this DIE.
methodelftools.dwarf.die.DIE.get_full_path() -> str
Return the full path filename for the DIE.
methodelftools.dwarf.die.DIE.is_null() -> bool
Is this a null entry?
methodelftools.dwarf.die.DIE.iter_children() -> Iterator[DIE]
Iterates all children of this DIE
methodelftools.dwarf.die.DIE.iter_siblings() -> Iterator[DIE]
Yield all siblings of this DIE
classelftools.dwarf.dwarf_expr.DWARFExprParser
DWARF expression parser.
classelftools.dwarf.locationlists.LocationParser
A parser for location information in DIEs.
classelftools.dwarf.typeunit.TypeUnit
A DWARF type unit (TU).
methodelftools.dwarf.typeunit.TypeUnit.dwarf_format() -> int
Get the DWARF format (32 or 64) for this TU
methodelftools.dwarf.typeunit.TypeUnit.get_DIE_from_refaddr(refaddr:int) -> DIE
Obtain a DIE contained in this CU from a reference.
classelftools.ehabi.decoder.EHABIBytecodeDecoder
Decoder of a sequence of ARM exception handler abi bytecode.
classelftools.ehabi.decoder.MnemonicItem
Single mnemonic item.
classelftools.ehabi.ehabiinfo.CannotUnwindEHABIEntry
This function cannot be unwind.
classelftools.ehabi.ehabiinfo.CorruptEHABIEntry
This entry is corrupt.
classelftools.ehabi.ehabiinfo.EHABIEntry
Exception handler abi entry.
classelftools.ehabi.ehabiinfo.EHABIInfo
ARM exception handler abi information class.
methodelftools.ehabi.ehabiinfo.EHABIInfo.get_entry(n:int) -> EHABIEntry
Get the exception handler entry at index #n.
methodelftools.ehabi.ehabiinfo.EHABIInfo.num_entry() -> int
Number of exception handler entry in the section.
funcelftools.ehabi.ehabiinfo.arm_expand_prel31(address:int, place:int) -> int
address: uint32 place: uint32 return: uint64
classelftools.elf.constants.E_FLAGS
Flag values for the e_flags field of the ELF header
classelftools.elf.constants.P_FLAGS
Flag values for the p_flags field of program headers
classelftools.elf.constants.RH_FLAGS
Flag values for the DT_MIPS_FLAGS dynamic table entries
classelftools.elf.constants.SHN_INDICES
Special section indices
classelftools.elf.constants.SH_FLAGS
Flag values for the sh_flags field of section headers
classelftools.elf.dynamic.Dynamic
Shared functionality between dynamic sections and segments.
methodelftools.elf.dynamic.Dynamic.get_table_offset(tag_name:str) -> tuple[int | None, int | None]
Return the virtual address and file offset of a dynamic table.
methodelftools.elf.dynamic.Dynamic.get_tag(n:int) -> DynamicTag
Get the tag at index #n from the file (DynamicTag object)
methodelftools.elf.dynamic.Dynamic.iter_tags(type:str | None=None) -> Iterator[DynamicTag]
Yield all tags (limit to |type| if specified)
classelftools.elf.dynamic.DynamicSection
ELF dynamic table section.
classelftools.elf.dynamic.DynamicSegment
ELF dynamic table segment.
methodelftools.elf.dynamic.DynamicSegment.get_symbol(index:int) -> Symbol
Get the symbol at index #index from the table (Symbol object)
methodelftools.elf.dynamic.DynamicSegment.get_symbol_by_name(name:str) -> list[Symbol] | None
Get a symbol(s) by name.
methodelftools.elf.dynamic.DynamicSegment.iter_symbols() -> Iterator[Symbol]
Yield all symbols in this dynamic segment.
methodelftools.elf.dynamic.DynamicSegment.num_symbols() -> int
Number of symbols in the table recovered from DT_SYMTAB
methodelftools.elf.elffile.ELFFile.address_offsets(start:int, size:int=1) -> Iterator[int]
Yield a file offset for each ELF segment containing a memory region.
methodelftools.elf.elffile.ELFFile.get_section_by_name(name:str) -> Section | None
Get a section from the file, by name.
methodelftools.elf.elffile.ELFFile.get_section_index(section_name:str) -> int | None
Gets the index of the section by name.
methodelftools.elf.elffile.ELFFile.get_segment(n:int) -> Segment
Get the segment at index #n from the file (Segment object)
methodelftools.elf.elffile.ELFFile.has_dwarf_info(strict:bool=False) -> bool
Check whether this file appears to have debugging information.
methodelftools.elf.elffile.ELFFile.has_dwarf_link() -> bool
Whether the binary's debug info is in an external file.
methodelftools.elf.elffile.ELFFile.iter_sections(type:str | None=None) -> Iterator[Section]
Yield all the sections in the file.
methodelftools.elf.elffile.ELFFile.iter_segments(type:str | None=None) -> Iterator[Segment]
Yield all the segments in the file.
methodelftools.elf.elffile.ELFFile.num_sections() -> int
Number of sections in the file
methodelftools.elf.elffile.ELFFile.num_segments() -> int
Number of segments in the file
classelftools.elf.gnuversions.GNUVerDefSection
ELF SUNW or GNU Version Definition table section.
classelftools.elf.gnuversions.GNUVerNeedSection
ELF SUNW or GNU Version Needed table section.
classelftools.elf.gnuversions.GNUVerSymSection
ELF SUNW or GNU Versym table section.
methodelftools.elf.gnuversions.GNUVerSymSection.iter_symbols() -> Iterator[Symbol]
Yield all the symbols in the table
methodelftools.elf.gnuversions.GNUVerSymSection.num_symbols() -> int
Number of symbols in the table
classelftools.elf.hash.ELFHashSection
Section representation of an ELF hash table.
classelftools.elf.hash.GNUHashSection
Section representation of a GNU hash table.
funcelftools.elf.notes.iter_notes(elffile:ELFFile, offset:int, size:int) -> Iterator[Container]
Yield all the notes in a section or segment.
classelftools.elf.relocation.Relocation
Relocation object - representing a single relocation entry.
methodelftools.elf.relocation.Relocation.is_RELA() -> bool
Is this a RELA relocation?
classelftools.elf.relocation.RelocationHandler
Handles the logic of relocations in ELF files.
classelftools.elf.relocation.RelocationSection
ELF relocation section.
classelftools.elf.relocation.RelrRelocationSection
ELF RELR relocation section.
classelftools.elf.relocation.RelrRelocationTable
RELR compressed relocation table.
methodelftools.elf.relocation.RelrRelocationTable.iter_relocations() -> Iterator[Relocation]
Yield all the relocations in the section
methodelftools.elf.relocation.RelrRelocationTable.num_relocations() -> int
Number of relocations in the section
classelftools.elf.sections.ARMAttributesSection
ELF .ARM.attributes section.
classelftools.elf.sections.ARMAttributesSubsection
Subsection of an ELF .ARM.attributes section.
classelftools.elf.sections.Attribute
Attribute object - representing a build attribute of ELF files.
classelftools.elf.sections.AttributesSection
ELF attributes section.
methodelftools.elf.sections.AttributesSection.num_subsections() -> int
Number of subsections in the section.
methodelftools.elf.sections.AttributesSection.subsections() -> list[AttributesSubsection]
List of all subsections in the section.
classelftools.elf.sections.AttributesSubsection
Subsection of an ELF attributes section.
methodelftools.elf.sections.AttributesSubsection.num_subsubsections() -> int
Number of subsubsections in the subsection.
classelftools.elf.sections.AttributesSubsubsection
Subsubsection of an ELF attribute section's subsection.
methodelftools.elf.sections.AttributesSubsubsection.attributes() -> list[Attribute]
List of all attributes in the subsubsection.
methodelftools.elf.sections.AttributesSubsubsection.iter_attributes(tag:str | None=None) -> Iterator[Attribute]
Yield all attributes (limit to |tag| if specified).
methodelftools.elf.sections.AttributesSubsubsection.num_attributes() -> int
Number of attributes in the subsubsection.
classelftools.elf.sections.NoteSection
ELF NOTE section.
methodelftools.elf.sections.NoteSection.iter_notes() -> Iterator[Container]
Yield all the notes in the section.
classelftools.elf.sections.NullSection
ELF NULL section
classelftools.elf.sections.RISCVAttribute
Attribute of an ELF .riscv.attributes section.
classelftools.elf.sections.RISCVAttributesSection
ELF .riscv.attributes section.
classelftools.elf.sections.RISCVAttributesSubsection
Subsection of an ELF .riscv.attributes section.
classelftools.elf.sections.RISCVAttributesSubsubsection
Subsubsection of an ELF .riscv.attributes subsection.
classelftools.elf.sections.SUNWSyminfoTableSection
ELF .SUNW Syminfo table section.
methodelftools.elf.sections.SUNWSyminfoTableSection.get_symbol(n:int) -> Symbol
Get the symbol at index #n from the table (Symbol object).
methodelftools.elf.sections.SUNWSyminfoTableSection.iter_symbols() -> Iterator[Symbol]
Yield all the symbols in the table
methodelftools.elf.sections.SUNWSyminfoTableSection.num_symbols() -> int
Number of symbols in the table
classelftools.elf.sections.Section
Base class for ELF sections.
methodelftools.elf.sections.Section.compressed() -> int
Is this section compressed?
methodelftools.elf.sections.Section.data() -> bytes
The section data from the file.
methodelftools.elf.sections.Section.data_alignment() -> int
Return the logical alignment for this section's data.
methodelftools.elf.sections.Section.data_size() -> int
Return the logical size for this section's data.
methodelftools.elf.sections.Section.is_null() -> bool
Is this a null section?
classelftools.elf.sections.StabSection
ELF stab section.
methodelftools.elf.sections.StabSection.iter_stabs() -> Iterator[Container]
Yield all stab entries.
classelftools.elf.sections.StringTableSection
ELF string table section.
methodelftools.elf.sections.StringTableSection.get_string(offset:int) -> str
Get the string stored at the given offset in this string table.
classelftools.elf.sections.SymbolTableSection
ELF symbol table section.
methodelftools.elf.sections.SymbolTableSection.get_symbol(n:int) -> Symbol
Get the symbol at index #n from the table (Symbol object)
methodelftools.elf.sections.SymbolTableSection.get_symbol_by_name(name:str) -> list[Symbol] | None
Get a symbol(s) by name.
methodelftools.elf.sections.SymbolTableSection.iter_symbols() -> Iterator[Symbol]
Yield all the symbols in the table
methodelftools.elf.sections.SymbolTableSection.num_symbols() -> int
Number of symbols in the table
classelftools.elf.segments.InterpSegment
INTERP segment.
methodelftools.elf.segments.InterpSegment.get_interp_name() -> str
Obtain the interpreter path used for this ELF file.
classelftools.elf.segments.NoteSegment
NOTE segment.
methodelftools.elf.segments.NoteSegment.iter_notes() -> Iterator[Container]
Yield all the notes in the segment.
methodelftools.elf.segments.Segment.data() -> bytes
The segment data from the file.
methodelftools.elf.segments.Segment.section_in_segment(section:Section) -> bool
Is the given section contained in this segment?

About this data

These signatures were extracted from the public source of eliben/pyelftools using Python's ast module. Argument names, default values, type annotations and return types are taken verbatim from the code. Implementation bodies are never stored. See how it works for details.

Back to all 805 libraries