The last line of the command above is shown:
I need to declare its return type. secret_func acts like a void function, so I did:
secret_func
void
Last updated 2 months ago
gdb -q ./o.exe gef➤ break main gef➤ run gef➤ call secret_func()
'secret_func' has unknown return type; cast the call to its declared return type
gef➤ call (void) secret_func()