-
Notifications
You must be signed in to change notification settings - Fork 191
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
Thumb2: Code not recognized #4305
Comments
V35 should search for "Encourage Salesman Prompt Delay" to find the database. |
I'm a little bit confused on this one. Unless we are disassembling the branch instruction at 0x4d0e incorrectly, our disassembly output should be correct. Marking it up with the label is the part that's misleading. I can get the bytes starting at 0x4d10 to be disassembled by right-clicking and saying Make Function at this Address -> thumb2 -> linux-thumb2 (and the output roughly matches what you have here). I don't see any cross-references to this location, though, so it's not clear whether this is ever executed or not. You also have an overlapping function defined just above this one (looks like it was maybe created with |
We do not create a function at If you wish to create a function there, right click and select "Create Function at Address" -> "thumb2" -> "linux-thumb2". I am closing this because things work as our expectation. Please feel free to re-open it if you have more info, e.g., there is actually a control-flow leading to data_4d10 but we still miss it. |
That code is part of a function but BN is not recognizing it as such. See below
|
Yeah, so the issue is that we believe the branch at 0x4d0e is unconditional. Thus, we don't disassemble the code below it, which is the correct behavior. The reason we don't believe this is conditional appears to be because we've completely ignored the |
Actually, sorry, I'm re-closing this as a duplicate of #3976. The issue was already triaged then (the code in that ticket is the same exact thing, too), I just didn't know about it. We should still address this problem, I just want to make sure we've only got a single ticket to track it. |
Version and Platform (required):
Note the jump to 0x4d10 which has code
that should look like this
Also, undefining and redefining the function does not create code at that location. How do I force BN to create code here?
The text was updated successfully, but these errors were encountered: