lab/x1
2021-03-06 20:32:39 +09:00
..
c Ignore all bin 2021-03-04 14:49:37 +09:00
injector Add injector 2021-03-06 20:32:39 +09:00
spray Implement bisection 2021-03-06 17:38:28 +09:00
append_nop.py Implement bisection 2021-03-06 17:38:28 +09:00
extract.py Implement memory spray 2021-03-06 17:38:28 +09:00
Makefile Add injector 2021-03-06 20:32:39 +09:00
memmap.c add memory map finder 2021-03-04 20:18:15 +09:00
mrc.S Add x1 experiments 2021-03-04 02:15:40 +09:00
README.md Update x1 README 2021-03-04 02:19:24 +09:00
return.S Add x1 experiments 2021-03-04 02:15:40 +09:00

Code

  • mrc.S Read SCTLR (MMU etc.) and return
  • return.S Return immediately
  • extract.py Extract .text

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