diff options
author | aiju <devnull@localhost> | 2017-08-24 13:02:27 +0000 |
---|---|---|
committer | aiju <devnull@localhost> | 2017-08-24 13:02:27 +0000 |
commit | 6104ebc9b6f1805a827c0a2acae8978a3fa33603 (patch) | |
tree | 0131147bd3bf72a8992443eefb42dac976c285fb /sys/include | |
parent | 721160290f138f087d199ab79875eae3de5e61fc (diff) |
libmach: support disassembling from memory
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/mach.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/mach.h b/sys/include/mach.h index 51397fcb8..78c3ab062 100644 --- a/sys/include/mach.h +++ b/sys/include/mach.h @@ -130,6 +130,7 @@ struct Map { struct segment { /* per-segment map */ char *name; /* the segment name */ int fd; /* file descriptor */ + long (*read)(int, void *, long, vlong); int inuse; /* in use - not in use */ int cache; /* should cache reads? */ uvlong b; /* base */ |