Print this page
3544 save-args matcher could be considerably more robust
3545 save-args matcher should accept saves may be out-of-order
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Robert Mustacchi <rm@joyent.com>

@@ -25,12 +25,10 @@
  */
 
 #ifndef _LIBDISASM_H
 #define _LIBDISASM_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/types.h>
 
 #ifdef  __cplusplus
 extern "C" {
 #endif

@@ -65,10 +63,11 @@
 extern uint64_t dis_previnstr(dis_handle_t *, uint64_t, int n);
 extern void dis_set_data(dis_handle_t *, void *);
 extern void dis_flags_set(dis_handle_t *, int f);
 extern void dis_flags_clear(dis_handle_t *, int f);
 extern int dis_max_instrlen(dis_handle_t *);
+extern int dis_instrlen(dis_handle_t *, uint64_t);
 
 /* libdisasm errors */
 #define E_DIS_NOMEM             1       /* Out of memory */
 #define E_DIS_INVALFLAG         2       /* Invalid flag for this architecture */