From 6104ebc9b6f1805a827c0a2acae8978a3fa33603 Mon Sep 17 00:00:00 2001 From: aiju Date: Thu, 24 Aug 2017 13:02:27 +0000 Subject: libmach: support disassembling from memory --- sys/include/mach.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/include') 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 */ -- cgit v1.2.3