| 1 |
Some utilities that use libelf to create synthetic ELF files |
| 2 |
|
| 3 |
readelf is built as follows: |
| 4 |
|
| 5 |
* From binutils Git: https://sourceware.org/git/binutils-gdb.git |
| 6 |
* git fetch --all --tags |
| 7 |
* git checkout binutils-<VERSION>-release |
| 8 |
* Run configure, then make |
| 9 |
* Built on a 64-bit Ubuntu machine |
| 10 |
|
| 11 |
llvm-dwarfdump is built as follows: |
| 12 |
|
| 13 |
* Used Debian v10 on x86_64 |
| 14 |
* install gcc, git, cmake |
| 15 |
* git clone https://github.com/llvm/llvm-project.git llvm |
| 16 |
* cd llvm |
| 17 |
* cmake -S llvm -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release |
| 18 |
* cmake --build build -- llvm-dwarfdump |