retdec/cmake
HoundThe 0cdc9a1de6
Implement telfhash for ELF import table (#936)
* Implement telfhash for import table and add TLSH to the project

* comment the import symbol filter regexes

* Use std::set for faster lookup

* Address code review comments

* better formatting

* Move TLSH to deps/ using cmake

* Forgot to commit tlsh headers

* Restructure elf_format to get symbols in the same manner as telfhash

* Ignore symbols from dynamic segments

* First exclude then convert to lower_case

* mask out symbol visibility from others

* Move telfhash outside import table to elf_format, use TLSH for all imphashes, create default imphash for ELF

* Fix uninitialized value

* Fixed TLSH build on Windows

* fileformat/CMakeLists.txt: do not add tlsh-related stuff

* deps/tlsh: refactor CMake

* cmake/options.cmake: move TLSH to deps section

* deps/tlsh/cmake: add new line at the end

* fileformat/elf_format: C comment -> C++ comment

* fileformat/elf_import_table.h: add missing new line

* fileformat: remove trailing spaces

Co-authored-by: Peter Matula <peter.matula@avast.com>
Co-authored-by: Peter Matula <p3t3r.matula@gmail.com>
2021-04-14 13:03:15 +02:00
..
deps.cmake deps/llvm: update to fix #895 2021-01-22 14:14:28 +01:00
GetGitRevisionDescription.cmake CMakeLists.txt: install BUILD-ID file containing git commit and date 2020-04-06 19:02:20 +02:00
GetGitRevisionDescription.cmake.in CMakeLists.txt: install BUILD-ID file containing git commit and date 2020-04-06 19:02:20 +02:00
options.cmake Implement telfhash for ELF import table (#936) 2021-04-14 13:03:15 +02:00
utils.cmake cmake: added options to build only specific targets. (#670) 2019-10-18 14:22:40 +02:00