/*IN*/ VexArchInfo* archinfo_guest,
/*IN*/ VexAbiInfo* abiinfo_both,
/*IN*/ IRType guest_word_type,
- /*IN*/ UInt (*needs_self_check)(void*,VexGuestExtents*),
+ /*IN*/ UInt (*needs_self_check)(void*,const VexGuestExtents*),
/*IN*/ Bool (*preamble_function)(void*,IRSB*),
/*IN*/ Int offB_GUEST_CMSTART,
/*IN*/ Int offB_GUEST_CMLEN,
/*IN*/ VexArchInfo* archinfo_guest,
/*IN*/ VexAbiInfo* abiinfo_both,
/*IN*/ IRType guest_word_type,
- /*IN*/ UInt (*needs_self_check)(void*,VexGuestExtents*),
+ /*IN*/ UInt (*needs_self_check)(void*,const VexGuestExtents*),
/*IN*/ Bool (*preamble_function)(void*,IRSB*),
/*IN*/ Int offB_GUEST_CMSTART,
/*IN*/ Int offB_GUEST_CMLEN,
NULL. */
IRSB* (*instrument1) ( /*callback_opaque*/void*,
IRSB*,
- VexGuestLayout*,
- VexGuestExtents*,
- VexArchInfo*,
+ const VexGuestLayout*,
+ const VexGuestExtents*,
+ const VexArchInfo*,
IRType gWordTy, IRType hWordTy );
IRSB* (*instrument2) ( /*callback_opaque*/void*,
IRSB*,
- VexGuestLayout*,
- VexGuestExtents*,
- VexArchInfo*,
+ const VexGuestLayout*,
+ const VexGuestExtents*,
+ const VexArchInfo*,
IRType gWordTy, IRType hWordTy );
IRSB* (*finaltidy) ( IRSB* );
that the i'th extent needs a check. Since there can be at most
3 extents, the returned values must be between 0 and 7. */
UInt (*needs_self_check)( /*callback_opaque*/void*,
- VexGuestExtents* );
+ const VexGuestExtents* );
/* IN: optionally, a callback which allows the caller to add its
own IR preamble following the self-check and any other
return False;
}
-static UInt needs_self_check ( void* opaque, VexGuestExtents* vge ) {
+static UInt needs_self_check ( void* opaque, const VexGuestExtents* vge ) {
return 0;
}