You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BSim assumes that a function always lives in the default address space and it only stores the "offset" of that function as the address. No address space information is stored alongside this offset in the FunctionDescription object. The default address space is used to attempt to retrieve the matching function to do a comparison. If the function lives in an overlay address space an error will consistently occur.
To Reproduce
Create an overlay address space in your program
Pick a function that was mapped into this new address space (I picked time and renamed the one in the other address space mapped_time)
Perform a BSim query on one of the functions
We successfully find mapped_time as one of the search results
Attempt to compare the two functions and encounter the error
Expected behavior
The BSim tool should be able to compare functions results no matter the address space they live in.
Attachments
Uploading libc with an overlay address space created. For my testing I used the functions time and mapped_time. An error will occur when trying to compare the two functions. libc.so.6.zip
Environment (please complete the following information):
OS: [Ubuntu 18]
Java Version: [21.0]
Ghidra Version: [11.2]
Ghidra Origin: [locally built]
The text was updated successfully, but these errors were encountered:
BSim assumes that a function always lives in the default address space and it only stores the "offset" of that function as the address. No address space information is stored alongside this offset in the
FunctionDescription
object. The default address space is used to attempt to retrieve the matching function to do a comparison. If the function lives in an overlay address space an error will consistently occur.To Reproduce
time
and renamed the one in the other address spacemapped_time
)mapped_time
as one of the search resultsExpected behavior
The BSim tool should be able to compare functions results no matter the address space they live in.
Attachments
Uploading libc with an overlay address space created. For my testing I used the functions
time
andmapped_time
. An error will occur when trying to compare the two functions.libc.so.6.zip
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: