Assigning a value to PointerBuilder.offset
has no effect
#6238
Labels
Component: Type Parser
Issue needs changes to Clang/CoreTypeParser
State: Awaiting Triage
Issue is waiting for more in-depth triage from a developer
Version and Platform (required):
Bug Description:
The offset value of pointers cannot be set when building a pointer type. The idea is to create an offset pointer to a struct but the offset value does not change when using the
PointerBuilder
type via the Python API.Steps To Reproduce:
The following python code creates a
PointerBuilder
for a pointer type that points tovoid
(the type it points to doesn't matter AFAICT). It changes the offset to0x10
and then prints the offset. This can be copied, pasted and run in the integrated python terminal in the BN UI.Expected Behavior:
The offset value should change to the assigned value.
Additional Information:
Pointers with non-zero offsets can be created using any API that parses C source strings like
bv.platform.parse_types_from_source
.The text was updated successfully, but these errors were encountered: