From: "ron minnich" <rminnich@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: [9fans] question on i386 code
Date: Sun, 18 Nov 2007 20:48:36 -0800 [thread overview]
Message-ID: <13426df10711182048w2c404cd9n93e80508fd461081@mail.gmail.com> (raw)
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
reply other threads:[~2007-11-19 4:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=13426df10711182048w2c404cd9n93e80508fd461081@mail.gmail.com \
--to=rminnich@gmail.com \
--cc=9fans@cse.psu.edu \
/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;
as well as URLs for NNTP newsgroup(s).