From: James Nordby <jnordby@caspiannetworks.com>
To: gdb@sources.redhat.com
Subject: Searching for pattern in memory from GDB?
Date: Mon, 08 Apr 2002 11:41:00 -0000 [thread overview]
Message-ID: <3CB1E451.CFCA2BE2@caspiannetworks.com> (raw)
Hi,
I'm trying to put together a fast, internal-circular-buffer-type tracing
package. I want to get able to extract the traces from either a running
program or a core file, but our binaries are normally sent out stripped.
I thought if I put a word or two with a particular pattern at the
beginning
of the trace buffer, I could look for that with gdb and use gdb to
format
the rest of the buffer.
Do you know of any way to say 'search for pattern in <BSS,heap> space'
in gdb?
If not, can you think of any other way to find a buffer in a stripped
binary?
Thanks,
Jim
P.S. - Please respond to my e-mail addr as well as the list...
next reply other threads:[~2002-04-08 18:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-08 11:41 James Nordby [this message]
2002-04-08 11:47 ` Daniel Jacobowitz
2002-04-11 14:45 ` Michael Snyder
2002-04-08 12:12 Michael Elizabeth Chastain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3CB1E451.CFCA2BE2@caspiannetworks.com \
--to=jnordby@caspiannetworks.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox