Open op2786 opened 1 year ago
Any chance you can share a binary that displays this behavior?
BNDB shared on slack search for: Angry Duck Kicks Tree I looked into this a bit the issues seems to be with MLIL specifically. For some reason were' not coercing that constant to a pointer. I don't know why this only effects the first member of the structure. This is not:
Version and Platform (required):
Bug Description:
I've a structure named
struct_c
like this:In this structure's init function there is an interesting behaviour:
As you can see, it's first member type is
HKEY
which isint32_t*
under the hood but BN does not usenullptr
for this first member. I guess this only happens for the first member of any structure. Even if it is some pointer BN does not usesnullptr
.Expected Behavior: I expect it to use
nullptr
.