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

fb.evaluateIntegerExpression converting incorrectly to hex? #54

Closed
KingOfBrian opened this issue Nov 21, 2014 · 4 comments
Closed

fb.evaluateIntegerExpression converting incorrectly to hex? #54

KingOfBrian opened this issue Nov 21, 2014 · 4 comments
Labels

Comments

@KingOfBrian
Copy link

I'm working on getting a count of a method, and it returns a large number, 0x7fffffff (2147483647). The value 2147483647 is getting passed to int('2147483647', 16), which is not correct, it should be int ('2147483647', 10). Am I missing something?

@kastiglione
Copy link
Contributor

Right, I'm not so sure about the existing logic in fblldbbase.py. I recall looking at that a while back and thinking that perhaps it should pass 0 for the base, which handles any of base 2, 8, 10, or 16.

@ghost
Copy link

ghost commented Aug 4, 2015

Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

@idrisr
Copy link
Contributor

idrisr commented Oct 12, 2015

I believe @KingOfBrian is correct and it should be base 10. Created this pull request: #119.

@kastiglione kastiglione added the bug label May 5, 2016
@kastiglione
Copy link
Contributor

Fixed in #236

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

No branches or pull requests

3 participants