Interface stub (IFS) helpers for reading and writing ELF binaries.
Types
Name |
Description |
Cumulative representation of an InterFace Stub. |
|
Alias of IFSStub used for an alternate YAML target mapping. |
|
A single symbol described by an InterFace Stub. |
|
Target platform information for an InterFace Stub. |
Type Aliases
Name |
Description |
ELF e_machine architecture value used in IFS target descriptions. |
Enums
Name |
Description |
Address bit width of an IFS target, corresponding to ELF EI_CLASS values. |
|
Endianness of an IFS target, corresponding to ELF EI_DATA values. |
|
Symbol type in an InterFace Stub, corresponding to ELF STT_* values. |
Functions
Name |
Description |
Maps an ELF EI_CLASS value to an IFSBitWidthType. |
|
Maps an ELF EI_DATA value to an IFSEndiannessType. |
|
Maps an ELF st_info symbol type to an IFSSymbolType. |
|
This function convert bit width type from IFS enum to ELF format Currently, ELFCLASS32 and ELFCLASS64 are supported. |
|
This function convert endianness type from IFS enum to ELF format Currently, ELFDATA2LSB and ELFDATA2MSB are supported. |
|
This function convert symbol type from IFS enum to ELF format Currently, STT_NOTYPE, STT_OBJECT, STT_FUNC, and STT_TLS are supported. |
|
Filters symbols from an IFS stub by undefined status and exclude globs. |
|
Override the target platform inforation in the text stub. |
|
Parse llvm triple string into a IFSTarget struct. |
|
Attempt to read a binary ELF file from a MemoryBuffer. |
|
Attempts to read an IFS interface file from a StringRef buffer. |
|
Strips target platform information from the text stub. |
|
Validate the target platform inforation in the text stub. |
|
Attempt to write a binary ELF stub. |
|
Attempts to write an IFS interface file to a raw_ostream. |
|
Returns true if two IFS targets describe the same platform. |
|
Returns true if two IFS targets describe different platforms. |
Variables
Name |
Description |
Current IFS text‐stub format version supported by this library. |
Created with MrDocs