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

Return Rela types #54

Open
gz opened this issue May 4, 2019 · 1 comment
Open

Return Rela types #54

gz opened this issue May 4, 2019 · 1 comment

Comments

@gz
Copy link
Contributor

gz commented May 4, 2019

Just wanted to get a sense if you would want to include specific type meanings (as an enum) for relocation types or is this out of scope for the library?

pub fn get_type(&self) -> u32 {

It's a bit tricky because values will be different for x86-64, x86-32, AARCH64 etc. But if you think it makes sense, I can prepare a pull request.

@nrc
Copy link
Owner

nrc commented Jun 1, 2019

I think that would be nice to have. I'm not sure about the platform issues, but if you figure out a way around that, then I'd be happy to have a PR, thanks!

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

No branches or pull requests

2 participants