https://github.com/ergrelet/llvm-ebctoll
Portable and standalone utility to extract embedded LLVM bitcode from binaries compiled with -fembed-bitcode.
https://github.com/ergrelet/llvm-ebctoll
bitcode llvm python
Last synced: 3 months ago
JSON representation
Portable and standalone utility to extract embedded LLVM bitcode from binaries compiled with -fembed-bitcode.
- Host: GitHub
- URL: https://github.com/ergrelet/llvm-ebctoll
- Owner: ergrelet
- License: mit
- Created: 2024-03-31T21:13:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T00:47:53.000Z (almost 2 years ago)
- Last Synced: 2025-02-05T14:14:45.677Z (about 1 year ago)
- Topics: bitcode, llvm, python
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# llvm-ebctoll
Portable and standalone utility to extract embedded LLVM bitcode from binaries
compiled with `-fembed-bitcode`.
Supported executable formats:
- PE
- ELF
Note that upstream LLVM doesn't save linker flags when `-fembed-bitcode` is used.
## Usage
Note: Poetry is used to manage dependencies and thus should be installed
beforehand.
```
poetry install
poetry run llvm-ebctoll bin.exe output_dir
```