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
When I build it I get the following error:
bb_size_client.cpp:81:62: error: invalid conversion from ‘void ()(uint)’ {aka ‘void ()(unsigned int)’} to ‘void*’ [-fpermissive]
81 | dr_insert_clean_call(drcontext, bb, instrlist_first(bb), clean_call, false, 1, OPND_CREATE_INT32(num_instructions));
| ^~~~~~~~~~
| |
| void ()(uint) {aka void ()(unsigned int)}
Should there be a cast to (void *) or am I getting it wrong:
I am following the bbdynsize tutorial: https://dynamorio.org/API_tutorial_bbdynsize4.html
DynamoRIO version: DynamoRIO-Linux-9.93.19503
OS: Ubuntu x86_64 GNU/Linux
When I build it I get the following error:
bb_size_client.cpp:81:62: error: invalid conversion from ‘void ()(uint)’ {aka ‘void ()(unsigned int)’} to ‘void*’ [-fpermissive]
81 | dr_insert_clean_call(drcontext, bb, instrlist_first(bb), clean_call, false, 1, OPND_CREATE_INT32(num_instructions));
| ^~~~~~~~~~
| |
| void ()(uint) {aka void ()(unsigned int)}
Should there be a cast to (void *) or am I getting it wrong:
https://groups.google.com/g/dynamorio-users/c/BWVdySjLUn8
The text was updated successfully, but these errors were encountered: