9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] question on i386 code
@ 2007-11-19  4:48 ron minnich
  0 siblings, 0 replies; only message in thread
From: ron minnich @ 2007-11-19  4:48 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Anybody have a handy function that does this:
int instlen(void *x);

Given a pointer x to a chunk of x86 binary, return the length of the
instruction at x.

I can rip code out of libmach, but i'm in a hurry and if the function
just exists, it would save me some time ...

thanks

ron


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

only message in thread, other threads:[~2007-11-19  4:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-19  4:48 [9fans] question on i386 code ron minnich

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 NNTP newsgroup(s).