Get the latest tech news

Show HN: ELF Injector


Injects code into an ELF file . Contribute to dillstead/elf_injector development by creating an account on GitHub.

Taking into account the size of the registers pushed onto the stack at the start of the thunk, load the value of argc nto r0, and the address of the first entry of argv into r1. Preserving modular congruency requires that the total number of bytes inserted are a multiple of the page size, padding is used by the elf_injector to ensure that this is the case. Chris Wellons for a number of different techniques for "libc free" programming used in the code from arena allocation to systam calls.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of ELF

ELF

Photo of ELF Injector

ELF Injector

Related news:

News photo

Superlinker: A tool for reinterpreting ELF executables and shared libraries

News photo

A overview of binaries, ELF, and NoMMU on Linux

News photo

Evolution of the ELF object file format