Skip to content

KOLANICH-libs/ELFRelocs.py

Repository files navigation

ELFRelocs.py Unlicensed work

wheel (GitLab) wheel (GHA via nightly.link) GitLab Build Status GitLab Coverage GitHub Actions N∅ hard dependencies Libraries.io Status Code style: antiflash

We have moved to https://codeberg.org/KOLANICH-libs/ELFRelocs.py , grab new versions there.

Under the disguise of "better security" Micro$oft-owned GitHub has discriminated users of 1FA passwords while having commercial interest in success and wide adoption of FIDO 1FA specifications and Windows Hello implementation which it promotes as a replacement for passwords. It will result in dire consequencies and is competely inacceptable, read why.

If you don't want to participate in harming yourself, it is recommended to follow the lead and migrate somewhere away of GitHub and Micro$oft. Here is the list of alternatives and rationales to do it. If they delete the discussion, there are certain well-known places where you can get a copy of it. Read why you should also leave GitHub.


A framework to compute relocations for ELF file format.

You inherit the class Relocator and RelocWrapper and implement everything which is NotImplemented. Then you call the method computeRelocatedPtr passing there RAW Virtual address of a pointer and its value, and get the relocated address (linker gonna patch the program, replacing that pointer with this value when loading, if everything dependent is loaded by the desired addresses).

libs submodule contains some already implemented relocators for some libs.

Requirements

About

a module to calculate relocated addresses for pointers in ELF binaries

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages