Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danigargu/syms2elf
A plugin for Hex-Ray's IDA Pro and radare2 to export the symbols recognized to the ELF symbol table
https://github.com/danigargu/syms2elf
Last synced: 20 days ago
JSON representation
A plugin for Hex-Ray's IDA Pro and radare2 to export the symbols recognized to the ELF symbol table
- Host: GitHub
- URL: https://github.com/danigargu/syms2elf
- Owner: danigargu
- License: gpl-3.0
- Created: 2016-03-03T17:19:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-08-17T13:22:52.000Z (about 2 years ago)
- Last Synced: 2024-07-31T23:46:10.772Z (4 months ago)
- Language: Python
- Homepage:
- Size: 33.2 KB
- Stars: 199
- Watchers: 13
- Forks: 44
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# syms2elf
The plugin export the symbols (for the moment only functions) recognized by IDA Pro and radare2 to the ELF symbol table. This allows us to use the power of IDA/r2 in recognizing functions (analysis, FLIRT signatures, manual creation, renaming, etc), but not be limited to the exclusive use of this tools.
Supports 32 and 64-bits file format.
## INSTALLATION
* **IDA Pro**: Simply, copy `syms2elf.py` to the IDA's plugins folder.
* **radare2**: You can install via r2pm: `r2pm -i syms2elf`## EXAMPLE
Based on a full-stripped ELF:
```
$ file test1_x86_stripped
test1_x86_stripped: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, stripped
```Rename some functions in IDA or r2, run `syms2elf` and select the output file.
![IDA output log](https://cloud.githubusercontent.com/assets/1675387/13477862/a02aa742-e0ce-11e5-835e-3a0992a3f171.png)
![r2_syms2elf](https://cloud.githubusercontent.com/assets/1675387/13831270/adddfae2-ebd2-11e5-8dcd-877c9c67faed.png)
After that:
```
$ file test1_x86_unstripped
test1_x86_unstripped: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, not stripped
```Now, you can open it with others tools and analyzing in a more comfortable way.
## AUTHORS
* Daniel García (@danigargu)
* Jesús Olmos (@sha0coder)## CONTACT
Any comment or request will be highly appreciated :-)