libmach: support disassembling from memory
This commit is contained in:
parent
721160290f
commit
6104ebc9b6
2 changed files with 9 additions and 5 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue