Relocator
Relocator is a tool to dynamically load code to an application. It can be used to load plugins for programs or to create more structed applications. Using the Relocator can be compared by using DLL (Windows) or SO (*nix) files.
Description
The Relocator loads the code of an elf object file into memory and gives an interface to load the function pointers similar to the dlsym function in *nix. It's a development lib and not finished yet.
Current Status
I started this project a while ago, but didn't finish it (and lost the motivation to finish it). With some tweaks I was able to load and run code successfully, but because of lacking ppc asm knowledge I wasn't able to impement the elf relocations correct. So I'm releasing the code and maybe someone continues to work on this project or use it as material for further projects.
Versions
Latest Development Snapshot: reloc.rar Includes some examples
Additional Information
- You can find a lot of information about the elf format in the elf.h header file
- This document contains a good description of the elf format (german).