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
↓ 40 callers
Function
size
src/ELF/DataHandler/Node.hpp:39
↓ 40 callers
Method
to_string
include/LIEF/PE/resources/ResourceStringTable.hpp:56
↓ 39 callers
Method
clone
src/PE/ResourceNode.cpp:362
↓ 38 callers
Method
childs
api/rust/include/LIEF/rust/PE/ResourceNode.hpp:48
↓ 38 callers
Method
find_function
src/DWARF/dwarf.cpp:312
↓ 38 callers
Function
run_program
(path, args=None)
tests/macho/test_builder.py:46
↓ 38 callers
Function
update_span
src/MachO/LinkEdit.cpp:46
↓ 38 callers
Function
write
Reconstruct the binary object and write the raw PE in `filename`
include/LIEF/PE/Binary.hpp:636
↓ 37 callers
Method
numberof_sections
Return the number of sections <div class="warning"> This value could differ from the real number of sections present in the binary. It must be taken
api/rust/cargo/lief/src/elf/header.rs:341
↓ 37 callers
Method
take
src/MachO/FatBinary.cpp:75
↓ 36 callers
Method
file_type
Define the object file type. (e.g. executable, library...)
api/rust/cargo/lief/src/elf/header.rs:263
↓ 36 callers
Function
indent
src/internal_utils.cpp:68
↓ 36 callers
Function
make_optional
api/rust/include/LIEF/rust/optional.hpp:19
↓ 35 callers
Method
imagebase
src/ELF/Binary.cpp:908
↓ 35 callers
Function
name
include/LIEF/ELF/Note.hpp:214
↓ 35 callers
Method
virtual_size
src/ELF/Binary.cpp:918
↓ 34 callers
Function
register_natives
plugins/ghidra/jni/lief/pe/jni.hpp:22
↓ 34 callers
Function
value
include/LIEF/hash.hpp:111
↓ 33 callers
Method
addend
Additional value that can be involved in the relocation processing
api/rust/cargo/lief/src/elf/relocation.rs:3493
↓ 33 callers
Function
is_linux
()
tests/utils.py:52
↓ 33 callers
Method
parse
Parse form a file path ``` if let Some(Binary::ELF(elf)) = Binary::parse("/bin/ls") { // ... } ```
api/rust/cargo/lief/src/binary.rs:35
↓ 33 callers
Method
replace
src/ELF/Binary.cpp:1085
↓ 33 callers
Method
set_level
src/logging.cpp:154
↓ 33 callers
Method
type
The original raw type as an integer. This value might depends on the architecture and/or the file type.
include/LIEF/ELF/NoteDetails/properties/Generic.hpp:31
↓ 32 callers
Function
hex_dump
src/internal_utils.cpp:42
↓ 32 callers
Function
make_optional
plugins/ghidra/jni/java/util/Optional.hpp:55
↓ 32 callers
Method
size
api/python/src/nanobind/extra/memoryview.hpp:50
↓ 31 callers
Method
disassemble
src/asm/asm.cpp:66
↓ 31 callers
Method
find_variable
src/DWARF/dwarf.cpp:320
↓ 31 callers
Method
pointerto_raw_data
src/PE/Section.cpp:98
↓ 31 callers
Method
tag
api/rust/include/LIEF/rust/ELF/DynamicEntry.hpp:38
↓ 30 callers
Function
to_bytes
api/python/src/nanobind/utils.hpp:13
↓ 30 callers
Function
u16tou8
src/utils.cpp:56
↓ 30 callers
Method
visit
src/ELF/hash.cpp:59
↓ 29 callers
Method
get
plugins/ghidra/jni/java/util/List.hpp:38
↓ 29 callers
Method
get_str_tag
src/BinaryStream/ASN1Reader.cpp:448
↓ 29 callers
Function
has
Check if the current binary has the given DataDirectory::TYPES
include/LIEF/PE/Binary.hpp:489
↓ 29 callers
Method
magic
src/DEX/Header.cpp:41
↓ 29 callers
Method
optional_header
Header that follows the [`Binary::header`]. It is named optional* from the COFF specification but it is mandatory in a PE file.
api/rust/cargo/lief/src/pe/binary.rs:88
↓ 29 callers
Method
relocations
Relocations
src/MachO/Binary.cpp:259
↓ 29 callers
Method
reserved
src/DEX/MapItem.cpp:39
↓ 29 callers
Method
size
src/ELF/Section.cpp:152
↓ 28 callers
Function
all
include/LIEF/PE/ParserConfig.hpp:32
↓ 28 callers
Method
command_offset
api/rust/include/LIEF/rust/MachO/LoadCommand.hpp:28
↓ 28 callers
Function
explore_trait_type
(type_: &dyn DwarfType)
api/rust/cargo/lief/tests/dwarf_tests.rs:132
↓ 28 callers
Method
file_size
src/DEX/Header.cpp:53
↓ 28 callers
Method
sizeof_raw_data
src/PE/Section.cpp:94
↓ 27 callers
Method
characteristics
The four bits `[23:20]` describe alignment info. Possible values are those defined as `IMAGE_SCN_ALIGN_*`, which are also used to describe alignment
api/rust/cargo/lief/src/pe/tls.rs:67
↓ 27 callers
Method
get_segment
src/MachO/Binary.cpp:1905
↓ 27 callers
Method
machine
The targeted machine architecture like ARM, x86, AMD64, ...
api/rust/cargo/lief/src/pe/headers.rs:382
↓ 27 callers
Method
read_uleb128
src/BinaryStream/BinaryStream.cpp:68
↓ 27 callers
Method
write
Write back the current PE binary into the file specified in parameter
api/rust/cargo/lief/src/pe/binary.rs:439
↓ 26 callers
Function
RVA
The relative virtual address of the content of this data directory
include/LIEF/PE/DataDirectory.hpp:88
↓ 26 callers
Method
alignment
The offset alignment of the segment
api/rust/cargo/lief/src/elf/segment.rs:269
↓ 26 callers
Method
clear
src/PE/Section.cpp:124
↓ 26 callers
Method
flags
src/ELF/DynamicEntryFlags.cpp:89
↓ 26 callers
Method
get_bar
tests/unittests/test_iterators.cpp:75
↓ 26 callers
Method
sizeof_data
Size of data that follows the header
api/rust/cargo/lief/src/coff/header.rs:184
↓ 26 callers
Method
type
src/MachO/Relocation.cpp:60
↓ 26 callers
Method
virtual_address_to_offset
src/ELF/Binary.cpp:1597
↓ 25 callers
Function
Iterator
include/LIEF/MachO/Stub.hpp:67
↓ 25 callers
Method
tellp
seeks:
include/LIEF/iostream.hpp:166
↓ 25 callers
Method
write
src/ELF/Binary.cpp:1648
↓ 24 callers
Method
Section
src/PE/Section.cpp:71
↓ 24 callers
Method
content
src/ELF/Segment.cpp:156
↓ 24 callers
Method
content
src/MachO/Section.cpp:142
↓ 24 callers
Method
create
src/asm/asm.cpp:193
↓ 24 callers
Method
end
include/LIEF/PE/LoadConfigurations/VolatileMetadata.hpp:40
↓ 24 callers
Method
entrypoint
src/MachO/Binary.cpp:197
↓ 24 callers
Function
error_or
api/python/src/pyErr.hpp:63
↓ 24 callers
Method
iter
Iterator over the [`crate::macho::Binary`]
api/rust/cargo/lief/src/macho/fat_binary.rs:47
↓ 24 callers
Method
load
(FSRL fsrl)
plugins/ghidra/src/main/java/lief/ghidra/core/FSRLHelper.java:107
↓ 24 callers
Method
rva_to_offset
src/PE/Binary.cpp:197
↓ 24 callers
Function
set_level
src/logging.cpp:221
↓ 24 callers
Method
size
src/DEX/MapItem.cpp:43
↓ 24 callers
Function
test_with_fullpath
(name: &str, suffix: &str)
api/rust/cargo/lief/tests/dwarf_tests.rs:458
↓ 24 callers
Method
type
Architecture for this range
include/LIEF/PE/LoadConfigurations/CHPEMetadata/MetadataARM64.hpp:65
↓ 23 callers
Function
data_directory
Return the DataDirectory with the given type (or index)
include/LIEF/PE/Binary.hpp:483
↓ 23 callers
Method
get_export
api/rust/include/LIEF/rust/PE/Binary.hpp:312
↓ 23 callers
Method
hash
src/PE/hash.cpp:26
↓ 23 callers
Method
name
(&self)
api/rust/cargo/lief/src/pe/debug.rs:413
↓ 23 callers
Method
ordinal
src/MachO/ChainedPointerAnalysis.cpp:395
↓ 23 callers
Function
value_or_none
api/python/src/pyErr.hpp:87
↓ 22 callers
Method
as_generic
(&self)
api/rust/cargo/lief/src/assembly/instruction.rs:267
↓ 22 callers
Method
dump
src/ELF/Note.cpp:632
↓ 22 callers
Function
from_value
Create a relocation type from its raw value and the architecture
include/LIEF/COFF/Relocation.hpp:140
↓ 22 callers
Function
remove
Remove a DLL_CHARACTERISTICS from the current characteristics
include/LIEF/PE/OptionalHeader.hpp:281
↓ 22 callers
Function
safe_string
api/python/src/pySafeString.cpp:20
↓ 22 callers
Method
segments
Return an iterator over the [`crate::elf::Segment`] of the binary
api/rust/cargo/lief/src/elf/binary.rs:124
↓ 21 callers
Method
addressof_new_exeheader
Return the offset to the [`Header`] structure.
api/rust/cargo/lief/src/pe/headers.rs:106
↓ 21 callers
Function
flags
Section flags
include/LIEF/ELF/Section.hpp:227
↓ 21 callers
Function
get_node_type
Return the ResourceNode associated with the given TYPE or a nullptr if not found;
include/LIEF/PE/ResourcesManager.hpp:129
↓ 21 callers
Method
sizeof_cmds
The raw size of **all** the load commands (`LC_xxx`)
api/rust/cargo/lief/src/macho/header.rs:243
↓ 21 callers
Function
~Iterator
include/LIEF/MachO/Stub.hpp:81
↓ 20 callers
Method
addBitField
(StructureDataType S, DataType baseDataType, int bitSize, String componentName, String comment)
plugins/ghidra/src/main/java/lief/ghidra/plugins/analyzers/pe/TypeBuilder.java:39
↓ 20 callers
Method
add_child
api/rust/include/LIEF/rust/PE/ResourceNode.hpp:52
↓ 20 callers
Method
add_entry
Add the given export and return the newly created and added export
api/rust/cargo/lief/src/pe/export.rs:135
↓ 20 callers
Method
as_generic
(&self)
api/rust/cargo/lief/src/generic.rs:364
↓ 20 callers
Function
is_osx
()
tests/utils.py:55
↓ 20 callers
Method
library_ordinal
api/rust/include/LIEF/rust/MachO/BindingInfo.hpp:30
← previous
next →
101–200 of 11,400, ranked by callers