Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mephi42/ida-kallsyms
IDA script for parsing kallsyms
https://github.com/mephi42/ida-kallsyms
Last synced: 23 minutes ago
JSON representation
IDA script for parsing kallsyms
- Host: GitHub
- URL: https://github.com/mephi42/ida-kallsyms
- Owner: mephi42
- Created: 2019-10-08T22:20:02.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-09-27T18:10:01.000Z (about 1 year ago)
- Last Synced: 2024-08-03T10:01:33.129Z (3 months ago)
- Language: Python
- Homepage:
- Size: 6.21 MB
- Stars: 59
- Watchers: 8
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ida-kallsyms
IDA script for parsing kallsyms.
## Usage
* `git clone https://github.com/mephi42/ida-kallsyms.git`
* Open the kernel in IDA, let the autoanalysis finish.
* From `File` → `Script file...` (Alt+F7 / Alt+F9) run
`ida-kallsyms/ida-kallsyms.py` script.## Usage with Ghidra
* `git clone https://github.com/mephi42/ida-kallsyms.git`
* Open the kernel in Ghidra, let the autoanalysis finish.
* Go to `Window` → `Script manager`.
* Once: press `Script Directories` button and add `ida-kallsyms`.
* In `Filter` edit box, type `kallsyms`.
* Double-click `ghidra-kallsyms.py` and wait.## Stand-alone usage
* `git clone https://github.com/mephi42/ida-kallsyms.git`
* `ida-kallsyms/find-kallsyms vmlinux >vmlinux.kallsyms`
* The resulting `vmlinux.kallsyms` file can be imported into IDA using
`ida-kallsyms-import.py` script.# build-vmlinux
Script for obtaining function signatures and struct layouts. Works by building
a Linux Kernel that is similar to the one being analyzed and extracting debug
information from it.## Usage
* Load kallsyms into IDA as described above.
* `ida-kallsyms/build-vmlinux --like vmlinux`This will run for a while and generate `vmlinux.like.json` file.
Check out `ida-kallsyms/build-vmlinux --help` in case you already have
`binutils-gdb` / `gcc` / `linux` local git repos or a `.config` that
matches `vmlinux`.
* Import `vmlinux.like.json` into IDA using `ida-kallsyms/ida-like-import.py`
script.
* If there are import errors, check `vmlinux.like.json.log` file.