Relocator: Difference between revisions

From WiiBrew
Jump to navigation Jump to search
No edit summary
Randomdude (talk | contribs)
Undo revision 88011 by Cease and Desist (Talk)
 
Line 1: Line 1:
This is a warning to the owners of this site. My name is Shigeru Miyamoto and I am disappoint. You are breaking the DCMA laws. DCMA laws protect our freedoms far into the furture. There is over 9000 pages here and I want every single one of them gone by next week. This is not a threat but a promise. Every day after that week is up, I will sue you for $100,000 a day.
'''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.


Thank you for using Nintendo. We must ensure our freedoms through use of the DCMA. This not the analog millennium one passed in 1000 A.D., but the digital one.
== 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.


==CEASE==
== Current Status ==
AND DESIST
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: [http://miom.pytalhost.de/reloc.rar reloc.rar]
Includes some examples
 
== Additional Information ==
*You can find a lot of information about the elf format in the [http://www.koders.com/cpp/fid58F621524F2DADC04E2712E00982A6A062214164.aspx elf.h header file]
*[http://www.linux-kernel.de/appendix/ap05.pdf This document] contains a good description of the elf format (german).

Latest revision as of 20:24, 7 August 2010

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