gdb block memory copy

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

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


Re: gdb block memory copy

Quoted text here. Click to load it

Assuming your program is linked against libc and is not stripped,
(gdb) call memcpy(b, a, <desired-size>)

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

Site Timeline