-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 size info to anal class vtables #12601
Comments
see #12393 (comment)
… On 1 Jan 2019, at 18:16, Florian Märkl ***@***.***> wrote:
Right now, vtables in aCv only have an address, but no size. This should be added to the sdb record and also be represented in the size of the flag for the vtable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#12601>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA3-ljP5NBoPnkRXhKKZ9PlktmaL2QU2ks5u-5fUgaJpZM4Zl93Z>.
|
Hey! I started working on this issue #12603 and found out that I can't really look up the actual destination of the method without being sure I am able to dereference memory on the offset because I don't know the size of the table. So I guess I am gonna start here. Is size mentioned here supposed to be added by the user when adding the vtable to a class? Or an additional command, also I am not sure what the flag mentioned means? |
First of all, the size info should be able to be stored at all, no matter where it will come from later. It should also be settable with the Flags in r2 are generic markers at some address and they can also have a size. The flag for a vtable is set here: This function |
Right now, vtables in
aCv
only have an address, but no size. This should be added to the sdb record and also be represented in the size of the flag for the vtable.The text was updated successfully, but these errors were encountered: