pyelftools の API リファレンス
pyelftools (eliben/pyelftools) の公開 API 233 件 —— クラス 104、関数 64、メソッド 65。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: eliben/pyelftools
| 種別 | 件数 |
|---|---|
| クラス | 104 |
| 関数 | 64 |
| メソッド | 65 |
API 一覧
class
elftools.common.construct_utils.SLEB128A construct based parser for SLEB128 encoding.
class
elftools.common.construct_utils.UBInt24unsigned, big endian 24-bit integer
class
elftools.common.construct_utils.ULEB128A construct based parser for ULEB128 encoding.
class
elftools.common.construct_utils.ULInt24unsigned, little endian 24-bit integer
func
elftools.common.utils.bytes2str(b:bytes) -> strDecode a bytes object into a string.
func
elftools.common.utils.dwarf_assert(cond:object, msg:str='') -> NoneAssert that cond is True, otherwise raise DWARFError(msg)
func
elftools.common.utils.elf_assert(cond:object, msg:str='') -> NoneAssert that cond is True, otherwise raise ELFError(msg)
func
elftools.common.utils.merge_dicts(*dicts:Mapping[_K, _V]) -> dict[_K, _V]Given any number of dicts, merges them into a new one.
func
elftools.common.utils.parse_cstring_from_stream(stream:IO[bytes], stream_pos:int | None=None) -> bytes | NoneParse a C-string from the given stream.
func
elftools.common.utils.roundup(num:int, bits:int) -> intRound up a number to nearest multiple of 2^bits.
class
elftools.construct.adapters.ConstAdapterAdapter for enforcing a constant value ("magic numbers").
class
elftools.construct.adapters.FlagsAdapterAdapter for flag fields.
class
elftools.construct.adapters.HexDumpAdapterAdapter for hex-dumping strings.
class
elftools.construct.adapters.LengthValueAdapterAdapter for length-value pairs.
class
elftools.construct.adapters.MappingAdapterAdapter that maps objects to other objects.
class
elftools.construct.adapters.NoneOfValidates that the object is none of the listed values.
class
elftools.construct.adapters.OneOfValidates that the object is one of the listed values.
class
elftools.construct.adapters.PaddedStringAdapterAdapter for padded strings.
class
elftools.construct.adapters.PaddingAdapterAdapter for padding.
class
elftools.construct.adapters.StringAdapterAdapter for strings.
class
elftools.construct.adapters.TunnelAdapterAdapter for tunneling (as in protocol tunneling).
class
elftools.construct.core.AdapterAbstract adapter: calls _decode for parsing and _encode for building.
class
elftools.construct.core.ConstructThe mother of all constructs.
method
elftools.construct.core.Construct.build(obj:Any) -> bytesBuild an object in memory.
method
elftools.construct.core.Construct.build_stream(obj:Any, stream:IO[bytes]) -> NoneBuild an object directly into a stream.
method
elftools.construct.core.Construct.parse(data:bytes) -> AnyParse an in-memory buffer.
method
elftools.construct.core.Construct.parse_stream(stream:IO[bytes]) -> AnyParse a stream.
method
elftools.construct.core.Construct.sizeof(context:Container | None=None) -> intCalculate the size of this object, optionally using a context.
class
elftools.construct.core.FormatFieldA field that uses ``struct`` to pack and unpack data.
class
elftools.construct.core.MetaArrayAn array (repeater) of a meta-count.
class
elftools.construct.core.MetaFieldA variable-length field.
class
elftools.construct.core.OnDemandAllows for on-demand (lazy) parsing.
class
elftools.construct.core.RangeA range-array.
class
elftools.construct.core.ReconfigReconfigures a subconstruct.
class
elftools.construct.core.RepeatUntilAn array that repeats until the predicate indicates it to stop.
class
elftools.construct.core.SelectSelects the first matching subconstruct.
class
elftools.construct.core.SequenceA sequence of unnamed constructs.
class
elftools.construct.core.StaticFieldA fixed-size byte field.
class
elftools.construct.core.StructA sequence of named constructs, similar to structs in C.
class
elftools.construct.core.SubconstructAbstract subconstruct (wraps an inner construct, inheriting its name and flags).
class
elftools.construct.core.SwitchA conditional branch.
class
elftools.construct.core.Uniona set of overlapping fields (like unions in C).
class
elftools.construct.core.ValueA computed value.
class
elftools.construct.debug.DebuggerA pdb-based debugger.
func
elftools.construct.lib.binary.bin_to_int(bits:bytes, signed:bool=False) -> intLogical opposite of int_to_bin.
func
elftools.construct.lib.binary.decode_bin(data:bytes) -> bytesLogical opposite of decode_bin.
func
elftools.construct.lib.binary.encode_bin(data:bytes) -> bytesCreate a binary representation of the given b'' object.
func
elftools.construct.lib.binary.swap_bytes(bits:bytes, bytesize:int=8) -> bytesBits is a b'' object containing a binary representation.
class
elftools.construct.lib.container.ContainerA generic container of attributes.
class
elftools.construct.lib.container.FlagsContainerA container providing pretty-printing for flags.
class
elftools.construct.lib.container.ListContainerA container for lists.
func
elftools.construct.lib.hex.hexdump(data:bytes, linesize:int) -> list[str]data is a bytes object.
func
elftools.construct.macros.Array(count:Length, subcon:Construct) -> MetaArrayRepeats the given unit a fixed number of times.
func
elftools.construct.macros.BFloat32(name:str) -> FormatField[float]big endian, 32-bit IEEE floating point number
func
elftools.construct.macros.BFloat64(name:str) -> FormatField[float]big endian, 64-bit IEEE floating point number
func
elftools.construct.macros.Bit(name:str) -> BitIntegerAdaptera 1-bit BitField; must be enclosed in a BitStruct
func
elftools.construct.macros.CString(name:str, terminators:bytes=b'\x00', encoding:str | None=None, char_field:Construct=Field(None, 1)) -> ReconfigA string ending in a terminator.
func
elftools.construct.macros.Embedded(subcon:Construct) -> Reconfigembeds a struct into the enclosing struct.
func
elftools.construct.macros.EmbeddedBitStruct(*subcons:Construct) -> Subconstructan embedded BitStruct.
func
elftools.construct.macros.Enum(subcon:Construct, **kw:Any) -> MappingAdaptera set of named values mapping.
func
elftools.construct.macros.Field(name:str | None, length:Length) -> MetaField | StaticFieldA field consisting of a specified number of bytes.
func
elftools.construct.macros.Flag(name:str, truth:int=1, falsehood:int=0, default:bool=False) -> MappingAdapterA flag.
func
elftools.construct.macros.FlagsEnum(subcon:Construct, **kw:Any) -> FlagsAdaptera set of flag values mapping.
func
elftools.construct.macros.GreedyRange(subcon:Construct) -> RangeRepeats the given unit one or more times.
func
elftools.construct.macros.LFloat32(name:str) -> FormatField[float]little endian, 32-bit IEEE floating point number
func
elftools.construct.macros.LFloat64(name:str) -> FormatField[float]little endian, 64-bit IEEE floating point number
func
elftools.construct.macros.NFloat32(name:str) -> FormatField[float]native endianity, 32-bit IEEE floating point number
func
elftools.construct.macros.NFloat64(name:str) -> FormatField[float]native endianity, 64-bit IEEE floating point number
func
elftools.construct.macros.Nibble(name:str) -> BitIntegerAdaptera 4-bit BitField; must be enclosed in a BitStruct
func
elftools.construct.macros.Octet(name:str) -> BitIntegerAdapteran 8-bit BitField; must be enclosed in a BitStruct
func
elftools.construct.macros.OnDemandPointer(offsetfunc:Callable[[Container], int], subcon:Construct, force_build:bool=True) -> OnDemandan on-demand pointer.
func
elftools.construct.macros.Optional(subcon:Construct) -> Selectan optional construct.
func
elftools.construct.macros.OptionalGreedyRange(subcon:Construct) -> RangeRepeats the given unit zero or more times.
func
elftools.construct.macros.PascalString(name:str, length_field:FormatField[int]=UBInt8('length'), encoding:str | None=None) -> StringAdapterA length-prefixed string.
func
elftools.construct.macros.PrefixedArray(subcon:Construct, length_field:Construct=UBInt8('length')) -> LengthValueAdapteran array prefixed by a length field.
func
elftools.construct.macros.SBInt16(name:str) -> FormatField[int]signed, big endian 16-bit integer
func
elftools.construct.macros.SBInt32(name:str) -> FormatField[int]signed, big endian 32-bit integer
func
elftools.construct.macros.SBInt64(name:str) -> FormatField[int]signed, big endian 64-bit integer
func
elftools.construct.macros.SBInt8(name:str) -> FormatField[int]signed, big endian 8-bit integer
func
elftools.construct.macros.SLInt16(name:str) -> FormatField[int]signed, little endian 16-bit integer
func
elftools.construct.macros.SLInt32(name:str) -> FormatField[int]signed, little endian 32-bit integer
func
elftools.construct.macros.SLInt64(name:str) -> FormatField[int]signed, little endian 64-bit integer
func
elftools.construct.macros.SLInt8(name:str) -> FormatField[int]signed, little endian 8-bit integer
func
elftools.construct.macros.SNInt16(name:str) -> FormatField[int]signed, native endianity 16-bit integer
func
elftools.construct.macros.SNInt32(name:str) -> FormatField[int]signed, native endianity 32-bit integer
func
elftools.construct.macros.SNInt64(name:str) -> FormatField[int]signed, native endianity 64-bit integer
func
elftools.construct.macros.SNInt8(name:str) -> FormatField[int]signed, native endianity 8-bit integer
func
elftools.construct.macros.SeqOfOne(name:str | None, *args:Construct, **kw:bool) -> IndexingAdaptera sequence of one element.
func
elftools.construct.macros.SymmetricMapping(subcon:Construct, mapping:Mapping[Any, Any], default:Hashable | _Pass=NotImplemented) -> MappingAdapterdefines a symmetrical mapping: a->b, b->a.
func
elftools.construct.macros.UBInt16(name:str) -> FormatField[int]unsigned, big endian 16-bit integer
func
elftools.construct.macros.UBInt32(name:str) -> FormatField[int]unsigned, big endian 32-bit integer
func
elftools.construct.macros.UBInt64(name:str) -> FormatField[int]unsigned, big endian 64-bit integer
func
elftools.construct.macros.UBInt8(name:str) -> FormatField[int]unsigned, big endian 8-bit integer
func
elftools.construct.macros.ULInt16(name:str) -> FormatField[int]unsigned, little endian 16-bit integer
func
elftools.construct.macros.ULInt32(name:str) -> FormatField[int]unsigned, little endian 32-bit integer
func
elftools.construct.macros.ULInt64(name:str) -> FormatField[int]unsigned, little endian 64-bit integer
func
elftools.construct.macros.ULInt8(name:str) -> FormatField[int]unsigned, little endian 8-bit integer
func
elftools.construct.macros.UNInt16(name:str) -> FormatField[int]unsigned, native endianity 16-bit integer
func
elftools.construct.macros.UNInt32(name:str) -> FormatField[int]unsigned, native endianity 32-bit integer
func
elftools.construct.macros.UNInt64(name:str) -> FormatField[int]unsigned, native endianity 64-bit integer
func
elftools.construct.macros.UNInt8(name:str) -> FormatField[int]unsigned, native endianity 8-bit integer
class
elftools.dwarf.abbrevtable.AbbrevTableRepresents a DWARF abbreviation table.
method
elftools.dwarf.abbrevtable.AbbrevTable.get_abbrev(code:int) -> AbbrevDeclGet the AbbrevDecl for a given code.
class
elftools.dwarf.callframe.CFARuleA CFA rule is used to compute the CFA for each location.
class
elftools.dwarf.callframe.CFIEntryA common base class for CFI entries.
class
elftools.dwarf.callframe.CallFrameInstructionAn instruction in the CFI section.
class
elftools.dwarf.callframe.RegisterRuleRegister rules are used to find registers in call frames.
class
elftools.dwarf.callframe.ZEROEnd marker for the sequence of CIE/FDE.
func
elftools.dwarf.callframe.instruction_name(opcode:DW_CFA) -> strGiven an opcode, return the instruction name.
class
elftools.dwarf.compileunit.CompileUnitA DWARF compilation unit (CU).
method
elftools.dwarf.compileunit.CompileUnit.dwarf_format() -> intGet the DWARF format (32 or 64) for this CU
method
elftools.dwarf.compileunit.CompileUnit.get_DIE_from_refaddr(refaddr:int) -> DIEObtain a DIE contained in this CU from a reference.
class
elftools.dwarf.constants.DW_ACCESSAccess.
class
elftools.dwarf.constants.DW_ATEEncodings.
class
elftools.dwarf.constants.DW_CCCalling conventions.
class
elftools.dwarf.constants.DW_CFACall frame instructions.
method
elftools.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.
class
elftools.dwarf.constants.DW_IDID cases.
class
elftools.dwarf.constants.DW_INLInline codes.
class
elftools.dwarf.constants.DW_LANGSource languages.
class
elftools.dwarf.constants.DW_LNCTLine program header content types.
class
elftools.dwarf.constants.DW_LNELine program extended opcodes.
class
elftools.dwarf.constants.DW_LNSLine program opcodes.
class
elftools.dwarf.constants.DW_ORDOrderings.
class
elftools.dwarf.constants.DW_UTCompilation unit types.
class
elftools.dwarf.constants.DW_VIRTUALITYVirtuality.
class
elftools.dwarf.constants.DW_VISVisibility.
func
elftools.dwarf.descriptions.describe_form_class(form:str) -> str | NoneFor a given form name, determine its value class.
class
elftools.dwarf.die.DIEA DWARF debugging information entry.
method
elftools.dwarf.die.DIE.get_DIE_from_attribute(name:str) -> DIEReturn the DIE referenced by the named attribute of this DIE.
method
elftools.dwarf.die.DIE.get_full_path() -> strReturn the full path filename for the DIE.
method
elftools.dwarf.die.DIE.is_null() -> boolIs this a null entry?
method
elftools.dwarf.die.DIE.iter_children() -> Iterator[DIE]Iterates all children of this DIE
method
elftools.dwarf.die.DIE.iter_siblings() -> Iterator[DIE]Yield all siblings of this DIE
class
elftools.dwarf.dwarf_expr.DWARFExprParserDWARF expression parser.
class
elftools.dwarf.locationlists.LocationParserA parser for location information in DIEs.
class
elftools.dwarf.typeunit.TypeUnitA DWARF type unit (TU).
method
elftools.dwarf.typeunit.TypeUnit.dwarf_format() -> intGet the DWARF format (32 or 64) for this TU
method
elftools.dwarf.typeunit.TypeUnit.get_DIE_from_refaddr(refaddr:int) -> DIEObtain a DIE contained in this CU from a reference.
class
elftools.ehabi.decoder.EHABIBytecodeDecoderDecoder of a sequence of ARM exception handler abi bytecode.
class
elftools.ehabi.decoder.MnemonicItemSingle mnemonic item.
class
elftools.ehabi.ehabiinfo.CannotUnwindEHABIEntryThis function cannot be unwind.
class
elftools.ehabi.ehabiinfo.CorruptEHABIEntryThis entry is corrupt.
class
elftools.ehabi.ehabiinfo.EHABIEntryException handler abi entry.
class
elftools.ehabi.ehabiinfo.EHABIInfoARM exception handler abi information class.
method
elftools.ehabi.ehabiinfo.EHABIInfo.get_entry(n:int) -> EHABIEntryGet the exception handler entry at index #n.
method
elftools.ehabi.ehabiinfo.EHABIInfo.num_entry() -> intNumber of exception handler entry in the section.
func
elftools.ehabi.ehabiinfo.arm_expand_prel31(address:int, place:int) -> intaddress: uint32 place: uint32 return: uint64
class
elftools.elf.constants.E_FLAGSFlag values for the e_flags field of the ELF header
class
elftools.elf.constants.P_FLAGSFlag values for the p_flags field of program headers
class
elftools.elf.constants.RH_FLAGSFlag values for the DT_MIPS_FLAGS dynamic table entries
class
elftools.elf.constants.SHN_INDICESSpecial section indices
class
elftools.elf.constants.SH_FLAGSFlag values for the sh_flags field of section headers
class
elftools.elf.dynamic.DynamicShared functionality between dynamic sections and segments.
method
elftools.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.
method
elftools.elf.dynamic.Dynamic.get_tag(n:int) -> DynamicTagGet the tag at index #n from the file (DynamicTag object)
method
elftools.elf.dynamic.Dynamic.iter_tags(type:str | None=None) -> Iterator[DynamicTag]Yield all tags (limit to |type| if specified)
class
elftools.elf.dynamic.DynamicSectionELF dynamic table section.
class
elftools.elf.dynamic.DynamicSegmentELF dynamic table segment.
method
elftools.elf.dynamic.DynamicSegment.get_symbol(index:int) -> SymbolGet the symbol at index #index from the table (Symbol object)
method
elftools.elf.dynamic.DynamicSegment.get_symbol_by_name(name:str) -> list[Symbol] | NoneGet a symbol(s) by name.
method
elftools.elf.dynamic.DynamicSegment.iter_symbols() -> Iterator[Symbol]Yield all symbols in this dynamic segment.
method
elftools.elf.dynamic.DynamicSegment.num_symbols() -> intNumber of symbols in the table recovered from DT_SYMTAB
method
elftools.elf.elffile.ELFFile.address_offsets(start:int, size:int=1) -> Iterator[int]Yield a file offset for each ELF segment containing a memory region.
method
elftools.elf.elffile.ELFFile.get_section_by_name(name:str) -> Section | NoneGet a section from the file, by name.
method
elftools.elf.elffile.ELFFile.get_section_index(section_name:str) -> int | NoneGets the index of the section by name.
method
elftools.elf.elffile.ELFFile.get_segment(n:int) -> SegmentGet the segment at index #n from the file (Segment object)
method
elftools.elf.elffile.ELFFile.has_dwarf_info(strict:bool=False) -> boolCheck whether this file appears to have debugging information.
method
elftools.elf.elffile.ELFFile.has_dwarf_link() -> boolWhether the binary's debug info is in an external file.
method
elftools.elf.elffile.ELFFile.iter_sections(type:str | None=None) -> Iterator[Section]Yield all the sections in the file.
method
elftools.elf.elffile.ELFFile.iter_segments(type:str | None=None) -> Iterator[Segment]Yield all the segments in the file.
method
elftools.elf.elffile.ELFFile.num_sections() -> intNumber of sections in the file
method
elftools.elf.elffile.ELFFile.num_segments() -> intNumber of segments in the file
class
elftools.elf.gnuversions.GNUVerDefSectionELF SUNW or GNU Version Definition table section.
class
elftools.elf.gnuversions.GNUVerNeedSectionELF SUNW or GNU Version Needed table section.
class
elftools.elf.gnuversions.GNUVerSymSectionELF SUNW or GNU Versym table section.
method
elftools.elf.gnuversions.GNUVerSymSection.iter_symbols() -> Iterator[Symbol]Yield all the symbols in the table
method
elftools.elf.gnuversions.GNUVerSymSection.num_symbols() -> intNumber of symbols in the table
class
elftools.elf.hash.ELFHashSectionSection representation of an ELF hash table.
class
elftools.elf.hash.GNUHashSectionSection representation of a GNU hash table.
func
elftools.elf.notes.iter_notes(elffile:ELFFile, offset:int, size:int) -> Iterator[Container]Yield all the notes in a section or segment.
class
elftools.elf.relocation.RelocationRelocation object - representing a single relocation entry.
method
elftools.elf.relocation.Relocation.is_RELA() -> boolIs this a RELA relocation?
class
elftools.elf.relocation.RelocationHandlerHandles the logic of relocations in ELF files.
class
elftools.elf.relocation.RelocationSectionELF relocation section.
class
elftools.elf.relocation.RelrRelocationSectionELF RELR relocation section.
class
elftools.elf.relocation.RelrRelocationTableRELR compressed relocation table.
method
elftools.elf.relocation.RelrRelocationTable.iter_relocations() -> Iterator[Relocation]Yield all the relocations in the section
method
elftools.elf.relocation.RelrRelocationTable.num_relocations() -> intNumber of relocations in the section
class
elftools.elf.sections.ARMAttributesSectionELF .ARM.attributes section.
class
elftools.elf.sections.ARMAttributesSubsectionSubsection of an ELF .ARM.attributes section.
class
elftools.elf.sections.AttributeAttribute object - representing a build attribute of ELF files.
class
elftools.elf.sections.AttributesSectionELF attributes section.
method
elftools.elf.sections.AttributesSection.num_subsections() -> intNumber of subsections in the section.
method
elftools.elf.sections.AttributesSection.subsections() -> list[AttributesSubsection]List of all subsections in the section.
class
elftools.elf.sections.AttributesSubsectionSubsection of an ELF attributes section.
method
elftools.elf.sections.AttributesSubsection.num_subsubsections() -> intNumber of subsubsections in the subsection.
class
elftools.elf.sections.AttributesSubsubsectionSubsubsection of an ELF attribute section's subsection.
method
elftools.elf.sections.AttributesSubsubsection.attributes() -> list[Attribute]List of all attributes in the subsubsection.
method
elftools.elf.sections.AttributesSubsubsection.iter_attributes(tag:str | None=None) -> Iterator[Attribute]Yield all attributes (limit to |tag| if specified).
method
elftools.elf.sections.AttributesSubsubsection.num_attributes() -> intNumber of attributes in the subsubsection.
class
elftools.elf.sections.NoteSectionELF NOTE section.
method
elftools.elf.sections.NoteSection.iter_notes() -> Iterator[Container]Yield all the notes in the section.
class
elftools.elf.sections.NullSectionELF NULL section
class
elftools.elf.sections.RISCVAttributeAttribute of an ELF .riscv.attributes section.
class
elftools.elf.sections.RISCVAttributesSectionELF .riscv.attributes section.
class
elftools.elf.sections.RISCVAttributesSubsectionSubsection of an ELF .riscv.attributes section.
class
elftools.elf.sections.RISCVAttributesSubsubsectionSubsubsection of an ELF .riscv.attributes subsection.
class
elftools.elf.sections.SUNWSyminfoTableSectionELF .SUNW Syminfo table section.
method
elftools.elf.sections.SUNWSyminfoTableSection.get_symbol(n:int) -> SymbolGet the symbol at index #n from the table (Symbol object).
method
elftools.elf.sections.SUNWSyminfoTableSection.iter_symbols() -> Iterator[Symbol]Yield all the symbols in the table
method
elftools.elf.sections.SUNWSyminfoTableSection.num_symbols() -> intNumber of symbols in the table
class
elftools.elf.sections.SectionBase class for ELF sections.
method
elftools.elf.sections.Section.compressed() -> intIs this section compressed?
method
elftools.elf.sections.Section.data() -> bytesThe section data from the file.
method
elftools.elf.sections.Section.data_alignment() -> intReturn the logical alignment for this section's data.
method
elftools.elf.sections.Section.data_size() -> intReturn the logical size for this section's data.
method
elftools.elf.sections.Section.is_null() -> boolIs this a null section?
class
elftools.elf.sections.StabSectionELF stab section.
method
elftools.elf.sections.StabSection.iter_stabs() -> Iterator[Container]Yield all stab entries.
class
elftools.elf.sections.StringTableSectionELF string table section.
method
elftools.elf.sections.StringTableSection.get_string(offset:int) -> strGet the string stored at the given offset in this string table.
class
elftools.elf.sections.SymbolTableSectionELF symbol table section.
method
elftools.elf.sections.SymbolTableSection.get_symbol(n:int) -> SymbolGet the symbol at index #n from the table (Symbol object)
method
elftools.elf.sections.SymbolTableSection.get_symbol_by_name(name:str) -> list[Symbol] | NoneGet a symbol(s) by name.
method
elftools.elf.sections.SymbolTableSection.iter_symbols() -> Iterator[Symbol]Yield all the symbols in the table
method
elftools.elf.sections.SymbolTableSection.num_symbols() -> intNumber of symbols in the table
class
elftools.elf.segments.InterpSegmentINTERP segment.
method
elftools.elf.segments.InterpSegment.get_interp_name() -> strObtain the interpreter path used for this ELF file.
class
elftools.elf.segments.NoteSegmentNOTE segment.
method
elftools.elf.segments.NoteSegment.iter_notes() -> Iterator[Container]Yield all the notes in the segment.
method
elftools.elf.segments.Segment.data() -> bytesThe segment data from the file.
method
elftools.elf.segments.Segment.section_in_segment(section:Section) -> boolIs the given section contained in this segment?
この情報について
掲載しているシグネチャは eliben/pyelftools の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。