0

In IDA 8.4, when I define a struct in C syntax: struct mystruct { void *myptr; }, then I create a struct var with mystruct, and the value is 0, then IDA displays the pointer with red background, indicating that 0 is an invalid pointer value. How do I make a NULL pointer (0 value) valid for that struct field?

I don't want to change the type of the field, I still want to see offset myvar for non-NULL pointer values.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.