The new segments table is relocated at the end of the binary. The new segments table is relocated right after the first bss-like segment. This kind of shift only works with PIE binaries. ![]() The content of the binary right after the segments table is shifted and the relocations are updated accordingly. This enum describes the different ways to relocate the segments table.ĭefer the choice of the layout to LIEF. ![]() Stream – The stream which wraps the ELF binary Parse the ELF binary from the given stream and return a LIEF::ELF::Binary object. LIEF::ELF::Binary static std :: unique_ptr parse ( std :: unique_ptr stream, const std :: string & name = "", DYNSYM_COUNT_METHODS count_mtd = DYNSYM_COUNT_METHODS :: COUNT_AUTO ) ¶ sectionless) you can choose which method use to count dynamic symbols ParametersĬount_mtd – Method used to count dynamic symbols. Parse the given raw data as an ELF binary and return a LIEF::ELF::Binary object.įor weird binaries (e.g. LIEF::ELF::Binary static std :: unique_ptr parse ( const std :: vector & data, const std :: string & name = "", DYNSYM_COUNT_METHODS count_mtd = DYNSYM_COUNT_METHODS :: COUNT_AUTO ) ¶ Default: LIEF::ELF::DYNSYM_COUNT_METHODS::COUNT_AUTO Returns ![]() sectionless) you can choose which method to use for counting dynamic symbols ParametersĬount_mtd – Method used to count dynamic symbols. Parse an ELF file and return a LIEF::ELF::Binary object.įor weird binaries (e.g. Public Static Functions static std :: unique_ptr parse ( const std :: string & file, DYNSYM_COUNT_METHODS count_mtd = DYNSYM_COUNT_METHODS :: COUNT_AUTO ) ¶
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |