gdb block memory copy

May 08, 2006 1 Replies

In gdb console can I execute a command to copy a memory block from address "a" to addres "b" ? Thank You



Assuming your program is linked against libc and is not stripped, (gdb) call memcpy(b, a, )

Cheers,

In order to understand recursion you must first understand recursion. Remove /-nsp/ for email.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required