Skip to content

hwroot/arm_patch_skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Small skeleton project to generate patches using ARM assembly useful for injecting own payloads into firmware.

As an example skeleton has small snippet of code to call spi_write funtion in some firmware that is relative to the base where it will be inserted which is decribed in linker script file fw.ld.

Build script deletes ELF headers using objcopy and creates a binary patch file that later needs to be trimmed to the appropriate size manually since compiler insterts some compiler information at the end of the section.

Toolchain

Windows

http://gnutoolchains.com/download/

Linux

sudo apt-get install gcc-4.7-arm-linux-gnueabihf

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published