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
Describe the bug
Whilst dereferencing a pointer to an enumeration the value does get converted into the enum name, when dereferencing an array it doesn't. (See the 2 lines below - from the included zip.) *pmap = _FREE_PARA; preg->last_failed_alloc[page_index] = 0xf1; 0xf1 is defined as _NO_FAILED_ALLOC
To Reproduce
Steps to reproduce the behavior:
Load in the enclosed function (from the Decompile:Panels Debug Function Decompilation menu)
See error
Expected behavior
Array dereferencing should work the same as pointer dereferecing wrt enumeration usage.
Describe the bug
Whilst dereferencing a pointer to an enumeration the value does get converted into the enum name, when dereferencing an array it doesn't. (See the 2 lines below - from the included zip.)
*pmap = _FREE_PARA;
preg->last_failed_alloc[page_index] = 0xf1;
0xf1
is defined as_NO_FAILED_ALLOC
To Reproduce
Steps to reproduce the behavior:
Decompile:
PanelsDebug Function Decompilation
menu)Expected behavior
Array dereferencing should work the same as pointer dereferecing wrt enumeration usage.
Screenshots
N/A.
Attachments
__sbh_free_block.zip
Environment (please complete the following information):
Additional context
Fixing this may help with other array issues.
The text was updated successfully, but these errors were encountered: