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

Add a more flexible way to adjust Magic or deal with new/alternate magic numbers. #70

Open
rocky opened this issue Dec 24, 2020 · 0 comments

Comments

@rocky
Copy link
Owner

rocky commented Dec 24, 2020

Right now xdis needs to be update every time a new Python release comes out. This is by design because we do want to have this program be a reference on valid Python's rather than hypothetical ones.

However one proble is that right now we can only handle one magic number per Python version and sometimes for a given Python version there can be more than one. See for example #69.

Propose and implement a way to accomodate these problems.

One possibility is to add a parameter to override the built-in magic to Python mappings. And an option to pydisasm could allow a magic number override.

No doubt there are a number of other possibilityes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant