how to find the function of an input in gdb to disassemble?

289 views Asked by At

I am a little new to GDB, and I was wondering if it is possible for me to stop an input process while the executable runs and find out what is the function of that input to disassemble the function

for example, imagine I run the file and give these lines

blah blah blah
some prints here
some print there

enter a number:

can I stop the process when this input type a number: appear and find out what is the function that performs it?

0

There are 0 answers