public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Checksum of downloaded code.
@ 2004-10-13 15:35 Atul Talesara
  0 siblings, 0 replies; only message in thread
From: Atul Talesara @ 2004-10-13 15:35 UTC (permalink / raw)
  To: gdb

Hello Folks,
	I've downloaded code through remote stub on my
target.  Now just to check the integrity of code
downloaded, I would like to compare the checksums
computed from executable file's section data and the
actual target memory contents corresponding to that
section. Checksum of remote mem can be done by
implementing Additional GDB remote command or reading
target mem and doing checksum computation at the host
end.

I grep'ed thro' manual and google'd only to find that
there's not *simpler* way of doing this.  Does anyone
know of a better way to do this or some implementation
already doing this?  I found one utility named
elf32_checksum() but that's only for SUN OSes.

TIA.

Regards,
Atul P Talesara 
---------------------------------------------------------- 
Conscience cannot prevent one from committing the crime,
It can only prevent one from enjoying it!
---------------------------------------------------------- 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-13 14:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-13 15:35 Checksum of downloaded code Atul Talesara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).