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
↓ 7 callers
Method
baseof_code
Address relative to the imagebase where the binary's code starts.
api/rust/cargo/lief/src/pe/headers.rs:686
↓ 7 callers
Method
baseof_data
Address relative to the imagebase where the binary's data starts. <div class="warning">This value is not present for PE64 files</div>
api/rust/cargo/lief/src/pe/headers.rs:693
↓ 7 callers
Method
catalog
0xFFFF means not available
api/rust/cargo/lief/src/pe/code_integrity.rs:29
↓ 7 callers
Method
catalog_offset
(&self)
api/rust/cargo/lief/src/pe/code_integrity.rs:32
↓ 7 callers
Method
certificates
Return list of [`X509`] certificates associated with this signature
api/rust/cargo/lief/src/pe/signature.rs:176
↓ 7 callers
Method
classes
src/DEX/File.cpp:388
↓ 7 callers
Function
clear
Clear the content of this segment
include/LIEF/ELF/Segment.hpp:275
↓ 7 callers
Method
cmake_dump
(self)
api/python/backend/config.py:151
↓ 7 callers
Method
create_function
src/DWARF/dwarf.cpp:833
↓ 7 callers
Method
data_directories
Return the data directories as an iterator over the [`DataDirectory`] structure
api/rust/cargo/lief/src/pe/binary.rs:134
↓ 7 callers
Method
disassemble
api/rust/include/LIEF/rust/Abstract/Binary.hpp:88
↓ 7 callers
Method
encrypted_digest
Return the signature created by the signing certificate's private key
api/rust/cargo/lief/src/pe/signature/signer_info.rs:65
↓ 7 callers
Method
end
api/rust/include/LIEF/rust/PE/LoadConfiguration/VolatileMetadata.hpp:27
↓ 7 callers
Method
gen_url
(self, env: BuildEnvironment, target: str, url: str)
doc/sphinx/sphinx_lief_doc/rust_domain/rustdomain.py:86
↓ 7 callers
Method
getLength
()
plugins/ghidra/src/main/java/lief/pe/RuntimeFunctionAArch64.java:25
↓ 7 callers
Method
get_base
(&self)
api/rust/cargo/lief/src/dwarf/editor/types.rs:145
↓ 7 callers
Method
get_dynamic_symbol
src/ELF/Binary.cpp:407
↓ 7 callers
Method
get_int_from_virtual_address
Get the integer value at the given virtual address
api/rust/cargo/lief/src/pe/binary.rs:333
↓ 7 callers
Function
get_segment
Return the segment from the given name
include/LIEF/MachO/Binary.hpp:492
↓ 7 callers
Function
has_recent_glibc
Check if we have at least GLIBC 2.17 (2012)
tests/utils.py:85
↓ 7 callers
Method
idx_undefined_symbol
Index of the first symbol in the group of undefined external symbols.
api/rust/cargo/lief/src/macho/commands/dynamic_symbol_command.rs:40
↓ 7 callers
Method
information
src/ELF/Symbol.cpp:76
↓ 7 callers
Method
init_protection
The initial protections of this segment
api/rust/cargo/lief/src/macho/commands/segment.rs:49
↓ 7 callers
Method
is_directory
api/rust/include/LIEF/rust/PE/ResourceNode.hpp:46
↓ 7 callers
Function
is_frame
include/LIEF/ELF/Section.hpp:345
↓ 7 callers
Function
is_oat
src/OAT/utils.cpp:29
↓ 7 callers
Method
is_rela
Check if the relocation uses the explicit [`Relocation::addend`] field (this is usually the case for 64 bits binaries)
api/rust/cargo/lief/src/elf/relocation.rs:3504
↓ 7 callers
Method
is_trusted_by
src/PE/signature/x509.cpp:583
↓ 7 callers
Method
key_u8
src/PE/resources/ResourceVar.cpp:88
↓ 7 callers
Method
loader_flags
According to the PE specifications, this value is *reserved* and **should** be 0.
api/rust/cargo/lief/src/pe/headers.rs:809
↓ 7 callers
Method
major_image_version
The major version number of the image
api/rust/cargo/lief/src/pe/headers.rs:727
↓ 7 callers
Function
make_range
include/LIEF/iterators.hpp:525
↓ 7 callers
Method
minor_image_version
The minor version number of the image
api/rust/cargo/lief/src/pe/headers.rs:732
↓ 7 callers
Method
minor_linker_version
The linker minor version
api/rust/cargo/lief/src/pe/headers.rs:654
↓ 7 callers
Method
minor_operating_system_version
The **minor** version number of the required operating system
api/rust/cargo/lief/src/pe/headers.rs:722
↓ 7 callers
Method
minor_subsystem_version
The minor version number of the subsystem
api/rust/cargo/lief/src/pe/headers.rs:742
↓ 7 callers
Method
nb_local_symbols
Number of symbols in the group of local symbols.
api/rust/cargo/lief/src/macho/commands/dynamic_symbol_command.rs:25
↓ 7 callers
Method
nb_module_table
Number of entries in the module table. 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:74
↓ 7 callers
Function
needs_lief_extended
src/logging.hpp:185
↓ 7 callers
Function
normalize_path
(path: str)
tests/utils.py:226
↓ 7 callers
Method
numberof_line_numbers
No longer used in recent PE binaries produced by Visual Studio
api/rust/cargo/lief/src/pe/section.rs:122
↓ 7 callers
Method
patch_address
src/PE/Binary.cpp:1048
↓ 7 callers
Function
path_to_str
api/python/src/pyutils.cpp:4
↓ 7 callers
Method
read_octet_string
src/BinaryStream/ASN1Reader.cpp:335
↓ 7 callers
Function
rva_start
Function start address
include/LIEF/PE/ExceptionInfo.hpp:70
↓ 7 callers
Method
section_idx
ELF Section index associated with the symbol
api/rust/cargo/lief/src/elf/symbol.rs:139
↓ 7 callers
Function
sections
Return an iterator over the PE's Section
include/LIEF/PE/Binary.hpp:204
↓ 7 callers
Method
set_address
(&mut self, address: u32)
api/rust/cargo/lief/src/pe/export.rs:249
↓ 7 callers
Method
set_stack_offset
Set the stack offset of this variable. This function set the `DW_AT_location` attribute
api/rust/cargo/lief/src/dwarf/editor/variable.rs:34
↓ 7 callers
Function
shndx
@see Symbol::section_idx
include/LIEF/ELF/Symbol.hpp:163
↓ 7 callers
Function
sign
Sign the binary with an ad-hoc signature
tests/utils.py:99
↓ 7 callers
Method
signers
Iterator over the signer [`SignerInfo`] defined in the PKCS #7 signature
api/rust/cargo/lief/src/pe/signature.rs:181
↓ 7 callers
Function
size
include/LIEF/BinaryStream/FileStream.hpp:47
↓ 7 callers
Method
size
include/LIEF/iterators.hpp:212
↓ 7 callers
Method
sizeof_code
The size of the code `.text` section or the sum of all the sections that contain code (i.e. sections with `CNT_CODE` flag)
api/rust/cargo/lief/src/pe/headers.rs:660
↓ 7 callers
Method
sizeof_initialized_data
The size of the initialized data which are usually located in the `.data` section. If the initialized data are split across multiple sections, it is t
api/rust/cargo/lief/src/pe/headers.rs:666
↓ 7 callers
Method
sizeof_uninitialized_data
The size of the uninitialized data which are usually located in the `.bss` section. If the uninitialized data are split across multiple sections, it i
api/rust/cargo/lief/src/pe/headers.rs:672
↓ 7 callers
Function
type
Return the type of the note. This type does not match the `NT_` type value. For accessing the original `NT_` value, check original_type()
include/LIEF/ELF/Note.hpp:195
↓ 7 callers
Method
visibility
Symbol visibility
api/rust/cargo/lief/src/elf/symbol.rs:144
↓ 7 callers
Method
win32_version_value
According to the official PE specifications, this value is reserved and **should** be 0.
api/rust/cargo/lief/src/pe/headers.rs:748
↓ 7 callers
Method
write
src/MachO/Builder.cpp:311
↓ 6 callers
Method
RVA
Currently BinaryNinja is not aware of RVA (i.e. creating the associated xref/symbols) as Ghidra does but in the future this could change so let make a
plugins/binaryninja/analysis/src/PE/TypeBuilder.hpp:34
↓ 6 callers
Method
Relocation
src/PE/Relocation.cpp:33
↓ 6 callers
Function
_create_inst
(elf: lief.ELF.Binary, addr: int, asm: str)
tests/assembly/test_arm64.py:8
↓ 6 callers
Function
_get_default_config
()
tests/pe/test_debug_mod.py:13
↓ 6 callers
Method
add_dynamic_entry
Add the given dynamic entry and return the new entry
api/rust/cargo/lief/src/elf/binary.rs:142
↓ 6 callers
Method
add_exported_function
src/MachO/Binary.cpp:2484
↓ 6 callers
Method
addr
src/MachO/DyldChainedFixupsCreator.cpp:57
↓ 6 callers
Method
addressof_index
The location to receive the TLS index assigned by the loader. This location should be located in a writable section like `.data`
api/rust/cargo/lief/src/pe/tls.rs:42
↓ 6 callers
Method
as_generic
(&self)
api/rust/cargo/lief/src/macho/binding_info.rs:63
↓ 6 callers
Method
as_pin_mut_generic
(&mut self)
api/rust/cargo/lief/src/generic.rs:368
↓ 6 callers
Method
authentihash
Compute the authentihash for the current PE with the given algorithms.
api/rust/cargo/lief/src/pe/binary.rs:164
↓ 6 callers
Method
block_size
The total number of bytes in the base relocation block. `block_size = sizeof(BaseRelocationBlock) + nb_of_relocs * sizeof(uint16_t = RelocationEntry)`
api/rust/cargo/lief/src/pe/relocation.rs:25
↓ 6 callers
Function
build
()
api/rust/cargo/lief-build/src/lib.rs:201
↓ 6 callers
Function
call_example_with
(mut example_dir: PathBuf, example: &str, sample: PathBuf)
api/rust/examples/src/bin/test_run_examples.rs:17
↓ 6 callers
Method
cert
[`X509`] certificate used by this signer.
api/rust/cargo/lief/src/pe/signature/signer_info.rs:70
↓ 6 callers
Function
check_relocation_value
(macho: lief.MachO.Binary, idx: int, expected_value: int)
tests/macho/test_dyld.py:249
↓ 6 callers
Function
chmod_exe
(path)
tests/utils.py:93
↓ 6 callers
Method
code_map
RVA to the array that describes architecture-specific ranges
api/rust/cargo/lief/src/pe/chpe_metadata_arm64.rs:29
↓ 6 callers
Method
code_map_count
Number of entries in the code map
api/rust/cargo/lief/src/pe/chpe_metadata_arm64.rs:34
↓ 6 callers
Method
code_page
Return the code page that is used to decode code point values within the resource data. Typically, the code page is the unicode code page.
api/rust/cargo/lief/src/pe/resources.rs:145
↓ 6 callers
Method
code_ranges_to_entry_points_count
(&self)
api/rust/cargo/lief/src/pe/chpe_metadata_arm64.rs:70
↓ 6 callers
Method
code_words
Number of 32-bit words needed to contain all of the unwind codes
api/rust/cargo/lief/src/pe/exception_aarch64.rs:191
↓ 6 callers
Method
compilation_units
Iterator over the CompilationUnit from the PDB's DBI stream. [`crate::pdb::CompilationUnit`] are also named "Module" in the PDB's official documentati
api/rust/cargo/lief/src/pdb/debug_info.rs:49
↓ 6 callers
Function
convert_size
(size_bytes)
tests/elf/test_builder.py:48
↓ 6 callers
Method
create_base_type
src/DWARF/dwarf.cpp:861
↓ 6 callers
Method
create_generic_type
src/DWARF/dwarf.cpp:841
↓ 6 callers
Method
crypt_offset
The beginning of the encrypted area
api/rust/cargo/lief/src/macho/commands/encryption_info.rs:17
↓ 6 callers
Method
data
Raw value
api/rust/cargo/lief/src/pe/import.rs:159
↓ 6 callers
Method
data
api/rust/include/LIEF/rust/PE/ImportEntry.hpp:31
↓ 6 callers
Function
demangle
src/utils.cpp:174
↓ 6 callers
Method
demangled_name
src/ELF/Symbol.cpp:87
↓ 6 callers
Method
disassemble_address
Disassemble code at the given virtual address ``` let insts = binary.disassemble_address(0xacde); for inst in insts { println!("{}", inst.to_string()
api/rust/cargo/lief/src/generic.rs:215
↓ 6 callers
Method
dll_characteristics
Some characteristics of the underlying binary like the support of the PIE. The prefix ``dll`` comes from the official PE specifications but these char
api/rust/cargo/lief/src/pe/headers.rs:780
↓ 6 callers
Method
dynamic_value_reloctable_section
The section index of the dynamic value relocation table
api/rust/cargo/lief/src/pe/load_configuration.rs:302
↓ 6 callers
Method
exceptions
Iterator over the exception (`_RUNTIME_FUNCTION`) functions This function requires that the option [`ParserConfig::parse_exceptions`] was turned on (
api/rust/cargo/lief/src/pe/binary.rs:475
↓ 6 callers
Function
extended_version
src/utils.cpp:187
↓ 6 callers
Method
extra_rfe_table
RVA to this architecture-specific exception table
api/rust/cargo/lief/src/pe/chpe_metadata_arm64.rs:87
↓ 6 callers
Method
file
(&self)
api/rust/cargo/lief/src/pe/signature/content_info.rs:110
↓ 6 callers
Method
filename
src/dyld-shared-cache/dyldsc.cpp:84
← previous
next →
501–600 of 11,400, ranked by callers