Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lief-project/LIEF
/ functions
Functions
11,400 in github.com/lief-project/LIEF
⨍
Functions
11,400
◇
Types & classes
3,500
↳
Endpoints
2
↓ 13 callers
Method
section_alignment
The alignment (in bytes) of sections when they are loaded into memory. It must be greater than or equal to file_alignment and the default is the page
api/rust/cargo/lief/src/pe/headers.rs:706
↓ 13 callers
Method
section_from_virtual_address
src/ELF/Binary.cpp:1677
↓ 13 callers
Method
set_return_type
Set the return type of this function
api/rust/cargo/lief/src/dwarf/editor/function.rs:111
↓ 13 callers
Method
sizeof_image
The size (in bytes) of the image, including all headers, as the image is loaded in memory. It must be a multiple of section_alignment and should matc
api/rust/cargo/lief/src/pe/headers.rs:755
↓ 13 callers
Method
stream
src/PE/Section.cpp:120
↓ 13 callers
Method
symbol_offset
Offset from the start of the file to the n_list associated with the command
api/rust/cargo/lief/src/macho/commands/symbol_command.rs:18
↓ 13 callers
Function
test_with
(bin_name: &str)
api/rust/cargo/lief/tests/macho_tests.rs:307
↓ 13 callers
Method
timestamp
The time and date that the export data was created
api/rust/cargo/lief/src/pe/export.rs:30
↓ 13 callers
Method
version
src/PE/signature/x509.cpp:379
↓ 13 callers
Function
win_exec
(executable: Path, timeout: int = 60, gui: bool = True, universal_newlines: bool = True,
tests/utils.py:199
↓ 12 callers
Method
Builder
src/ELF/Builder.cpp:40
↓ 12 callers
Method
add_parameter
src/DWARF/dwarf.cpp:938
↓ 12 callers
Method
addressof_rawdata
api/rust/include/LIEF/rust/PE/debug/Debug.hpp:35
↓ 12 callers
Method
defineData
(Address addr, DataType ty)
plugins/ghidra/src/main/java/lief/ghidra/plugins/analyzers/Context.java:126
↓ 12 callers
Function
disa_from_address
(name: &str, address: u64)
api/rust/cargo/lief/tests/disassembler_test.rs:106
↓ 12 callers
Method
dos_header
DosHeader which starts the PE files
api/rust/cargo/lief/src/pe/binary.rs:82
↓ 12 callers
Function
dump
src/utils.cpp:101
↓ 12 callers
Function
explore_trait_type
(ty: &dyn PdbType)
api/rust/cargo/lief/tests/pdb_tests.rs:7
↓ 12 callers
Method
external_relocation_offset
Byte offset from the start of the file to the external relocation table data. This field seems unused by recent Mach-O loader and should be set to 0
api/rust/cargo/lief/src/macho/commands/dynamic_symbol_command.rs:112
↓ 12 callers
Method
getProgram
()
plugins/ghidra/src/main/java/lief/ghidra/plugins/analyzers/Context.java:94
↓ 12 callers
Method
get_base
(&self)
api/rust/cargo/lief/src/pe/debug.rs:145
↓ 12 callers
Function
imagebase
Return binary's imagebase. ``0`` if not relevant The value is the same as those returned by OptionalHeader::imagebase
include/LIEF/PE/Binary.hpp:183
↓ 12 callers
Method
imports
Return the imports as an **iterator** over the [`Import`] structure
api/rust/cargo/lief/src/pe/binary.rs:129
↓ 12 callers
Method
indirect_symbol_offset
Byte offset from the start of the file to the indirect symbol table data. Indirect symbol table is used by the loader to speed-up symbol resolution d
api/rust/cargo/lief/src/macho/commands/dynamic_symbol_command.rs:100
↓ 12 callers
Function
is_elf
src/ELF/utils.cpp:29
↓ 12 callers
Function
is_extended
src/utils.cpp:155
↓ 12 callers
Function
is_windows
()
tests/utils.py:58
↓ 12 callers
Method
local_relocation_offset
Byte offset from the start of the file to the local relocation table data. This field seems unused by recent Mach-O loader and should be set to 0
api/rust/cargo/lief/src/macho/commands/dynamic_symbol_command.rs:126
↓ 12 callers
Method
numberof_relocations
No longer used in recent PE binaries produced by Visual Studio
api/rust/cargo/lief/src/pe/section.rs:117
↓ 12 callers
Method
offset_to_virtual_address
src/PE/Binary.cpp:175
↓ 12 callers
Method
origin
Return the origin of the symbol: from `LC_SYMTAB` from the Dyld information, ...
api/rust/cargo/lief/src/macho/symbol.rs:88
↓ 12 callers
Method
other
Alias for [`Symbol::visibility`]
api/rust/cargo/lief/src/elf/symbol.rs:134
↓ 12 callers
Method
pointer_size
src/ART/Header.cpp:74
↓ 12 callers
Method
pointerto_rawdata
api/rust/include/LIEF/rust/PE/debug/Debug.hpp:36
↓ 12 callers
Function
processor_flag
Processor-specific flags
include/LIEF/ELF/Header.hpp:151
↓ 12 callers
Method
raw
src/DEX/File.cpp:72
↓ 12 callers
Method
read_sleb128
src/BinaryStream/BinaryStream.cpp:91
↓ 12 callers
Method
relocate_phdr_table
src/ELF/Binary.cpp:2545
↓ 12 callers
Method
section
The section where the TLS structure is located
api/rust/cargo/lief/src/pe/tls.rs:93
↓ 12 callers
Method
set_osabi
(&mut self, osabi: OsAbi)
api/rust/cargo/lief/src/elf/header.rs:350
↓ 12 callers
Method
sizeof_headers
src/PE/Binary.cpp:353
↓ 12 callers
Method
strip
src/ELF/Binary.cpp:1566
↓ 12 callers
Function
test_with
(bin_name: &str)
api/rust/cargo/lief/tests/pe_tests.rs:409
↓ 12 callers
Function
to_string
src/errors.cpp:18
↓ 12 callers
Method
type
src/DEX/Type.cpp:64
↓ 11 callers
Method
SegmentCommand
src/MachO/SegmentCommand.cpp:33
↓ 11 callers
Method
add_characteristic
(&mut self, characteristics: Characteristics)
api/rust/cargo/lief/src/pe/headers.rs:459
↓ 11 callers
Method
commands
Return an iterator over the different [`crate::macho::Commands`] used by the Mach-O binary
api/rust/cargo/lief/src/macho/binary.rs:80
↓ 11 callers
Method
empty
plugins/ghidra/jni/java/util/Optional.hpp:42
↓ 11 callers
Method
get
plugins/binaryninja/analysis/src/TypeBuilder.cpp:26
↓ 11 callers
Method
get_or_create
plugins/binaryninja/analysis/src/PE/TypeBuilder.cpp:27
↓ 11 callers
Function
get_type
src/PE/utils.cpp:143
↓ 11 callers
Method
nb_indirect_symbols
Number of entries in the indirect symbol table.
api/rust/cargo/lief/src/macho/commands/dynamic_symbol_command.rs:105
↓ 11 callers
Function
offset
src/ELF/DataHandler/Node.hpp:42
↓ 11 callers
Method
opcode
---------------------------------------------------------------------------- asm/aarch64/Instruction.hpp ---------------------------------------------
src/asm/asm.cpp:295
↓ 11 callers
Method
program_headers_offset
Offset of the programs table (also known as segments table)
api/rust/cargo/lief/src/elf/header.rs:298
↓ 11 callers
Method
put
(DataType key, Type value)
plugins/ghidra/src/main/java/lief/ghidra/core/dwarf/export/TypeManager.java:51
↓ 11 callers
Function
setpos
include/LIEF/BinaryStream/BinaryStream.hpp:158
↓ 11 callers
Function
to_string
src/DEX/EnumToString.cpp:87
↓ 11 callers
Function
version
src/DEX/utils.cpp:37
↓ 11 callers
Function
virtual_address
The virtual address of the segment.
include/LIEF/ELF/Segment.hpp:180
↓ 10 callers
Method
add_library
src/MachO/Binary.cpp:1833
↓ 10 callers
Method
addressof_raw_data
Range of addresses where the [`TLS::data_template`] is located. The template is a block of data that is used to initialize TLS data. The system copie
api/rust/cargo/lief/src/pe/tls.rs:84
↓ 10 callers
Function
as_vector
src/internal_utils.hpp:48
↓ 10 callers
Method
cbegin
include/LIEF/iterators.hpp:189
↓ 10 callers
Method
digest
src/PE/signature/ContentInfo.cpp:53
↓ 10 callers
Method
fixups
api/rust/include/LIEF/rust/PE/LoadConfiguration/DynamicRelocation/DynamicRelocation.hpp:32
↓ 10 callers
Function
is_apple_m1
()
tests/utils.py:68
↓ 10 callers
Method
is_ordinal
src/PE/ImportEntry.cpp:36
↓ 10 callers
Function
is_true
include/LIEF/enums.hpp:86
↓ 10 callers
Function
is_windows_x86_64
()
tests/utils.py:65
↓ 10 callers
Method
library
Return the library in which this symbol is defined (if any)
api/rust/cargo/lief/src/macho/symbol.rs:108
↓ 10 callers
Function
lief_samples_dir
()
tests/utils.py:29
↓ 10 callers
Method
major_linker_version
The linker major version
api/rust/cargo/lief/src/pe/headers.rs:649
↓ 10 callers
Function
normalize
(instr: str)
tests/elf/test_builder.py:44
↓ 10 callers
Method
numberof_id_entries
The number of directory entries immediately following the Name entries that use numeric IDs for Type, Name, or Language entries.
api/rust/cargo/lief/src/pe/resources.rs:273
↓ 10 callers
Method
numberof_name_entries
The number of directory entries immediately following the table that use strings to identify Type, Name, or Language entries (depending on the level o
api/rust/cargo/lief/src/pe/resources.rs:265
↓ 10 callers
Method
raw
src/MachO/Binary.cpp:1837
↓ 10 callers
Method
remove_signature
src/MachO/Binary.cpp:1821
↓ 10 callers
Method
sleb128
plugins/binaryninja/analysis/src/TypeBuilder.hpp:75
↓ 10 callers
Method
time
Time as a tuple: `(year, month, day, hour, min, sec)`
api/rust/cargo/lief/src/pe/signature/attributes.rs:460
↓ 10 callers
Function
to_string
src/ELF/Segment.cpp:405
↓ 10 callers
Function
to_string
src/ELF/Header.cpp:296
↓ 10 callers
Function
to_string
src/COFF/Symbol.cpp:163
↓ 10 callers
Function
to_string
src/PE/exceptions_info/RuntimeFunctionX64.cpp:253
↓ 10 callers
Method
version
src/PDB/pdb.cpp:541
↓ 10 callers
Method
visit
src/DEX/hash.cpp:38
↓ 9 callers
Method
accept
src/PE/TLS.cpp:45
↓ 9 callers
Method
addressof_entrypoint
The address of the entry point relative to the image base when the executable file is loaded into memory. For program images, this is the starting add
api/rust/cargo/lief/src/pe/headers.rs:681
↓ 9 callers
Method
addressof_relocation_table
(&self)
api/rust/cargo/lief/src/pe/headers.rs:81
↓ 9 callers
Method
authenticated_attributes
Iterator over the **authenticated** [`Attribute`]
api/rust/cargo/lief/src/pe/signature/signer_info.rs:75
↓ 9 callers
Function
binding
The symbol's binding determines the linkage visibility and behavior
include/LIEF/ELF/Symbol.hpp:110
↓ 9 callers
Method
check
src/ELF/GnuHash.cpp:48
↓ 9 callers
Method
content_type
Return the OID that describes the content wrapped by this object. It should match `SPC_INDIRECT_DATA_OBJID` (`1.3.6.1.4.1.311.2.1.4`)
api/rust/cargo/lief/src/pe/signature/content_info.rs:18
↓ 9 callers
Method
cpu_subtype
Return the CPU subtype supported by the Mach-O binary. For ARM architectures, this value could represent the minimum version for which the Mach-O bina
api/rust/cargo/lief/src/macho/header.rs:228
↓ 9 callers
Method
disassemble
Disassemble instructions at the provided virtual address. This function returns an iterator over [`assembly::Instructions`].
api/rust/cargo/lief/src/dsc/dyld_shared_cache.rs:295
↓ 9 callers
Method
dynamic_symbols
Return an iterator over the dynamic [`crate::elf::Symbol`] of the binary
api/rust/cargo/lief/src/elf/binary.rs:152
↓ 9 callers
Function
empty
Checks whether this object contains MachO::Binary
include/LIEF/MachO/FatBinary.hpp:64
↓ 9 callers
Method
file_size_in_pages
(&self)
api/rust/cargo/lief/src/pe/headers.rs:41
↓ 9 callers
Method
find_entry
src/PE/Export.cpp:102
← previous
next →
301–400 of 11,400, ranked by callers