mirror of
https://github.com/brain-hackers/lab
synced 2024-11-14 14:18:01 +09:00
.. | ||
c | ||
injector | ||
spray | ||
extract.py | ||
Makefile | ||
memmap.c | ||
mrc.S | ||
README.md | ||
return.S |
Code
mrc.S
Read SCTLR (MMU etc.) and returnreturn.S
Return immediatelyextract.py
Extract .textmemmap.c
Analyze page table
Build
apt install gcc-arm-linux-gnueabihf
pip3 install pyelftools
make all
Run
- Create a directory
/path/to/sd/APP/foo
- Create index.din
touch /path/to/sd/APP/foo/index.din
- Copy and rename the raw executable
cp foo.bin /path/to/sd/APP/foo/AppMain.bin