Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor relocation loading to use static dicts #504

Merged
merged 7 commits into from
Aug 10, 2024

Conversation

twizmwazin
Copy link
Member

This refactors elf relocation loading to just be a bunch of static dicts defined in the source. This is simpler and easier to understand than the dynamic implementation. It also should hopefully help when adding support for more relocations, as the key is already there in the table and a source document is linked in each arch file. File duplication for arm and mips was also fixed.

@twizmwazin twizmwazin changed the title Refactor elf relocation loading to use static dicts Refactor relocation loading to use static dicts Aug 10, 2024
@twizmwazin twizmwazin merged commit 14adcc5 into master Aug 10, 2024
17 checks passed
@twizmwazin twizmwazin deleted the refactor/static-relocation-tables branch August 10, 2024 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant