Stan Cox e87eb1
--- dyninst-9.3.1/common/src/Types.h.sv	2017-03-07 22:05:52.187479600 -0500
Stan Cox e87eb1
+++ dyninst-9.3.1/common/src/Types.h	2017-03-07 22:06:57.509944790 -0500
Stan Cox e87eb1
@@ -170,7 +170,7 @@
Stan Cox e87eb1
 static const Address ADDR_NULL = (Address)(0);
Stan Cox e87eb1
 #else
Stan Cox e87eb1
 #define ADDR_NULL (0)
Stan Cox e87eb1
-typedef uintptr_t Address;
Stan Cox e87eb1
+typedef unsigned long Address;
Stan Cox e87eb1
 #endif
Stan Cox e87eb1
 /* Note the inherent assumption that the size of a "long" integer matches
Stan Cox e87eb1
    that of an address (void*) on every supported Paradyn/Dyninst system!
Stan Cox e87eb1
Stan Cox e87eb1
Stan Cox e87eb1
--- dyninst-9.3.1/common/h/dyntypes.h.sv	2017-03-08 10:16:18.657768231 -0500
Stan Cox e87eb1
+++ dyninst-9.3.1/common/h/dyntypes.h	2017-03-08 10:37:07.992634513 -0500
Stan Cox e87eb1
@@ -124,8 +124,8 @@
Stan Cox e87eb1
 
Stan Cox e87eb1
 namespace Dyninst
Stan Cox e87eb1
 {
Stan Cox e87eb1
-   typedef uintptr_t Address;
Stan Cox e87eb1
-   typedef uintptr_t Offset;
Stan Cox e87eb1
+   typedef unsigned long Address;   
Stan Cox e87eb1
+   typedef unsigned long Offset;
Stan Cox e87eb1
 
Stan Cox e87eb1
 #if defined(_MSC_VER)
Stan Cox e87eb1
    typedef int PID;
Stan Cox e87eb1
Stan Cox e87eb1
Stan Cox e87eb1
--- dyninst-9.3.1/dyninstAPI/src/BPatch_memoryAccess.C.sv	2017-03-07 23:07:29.371789000 -0500
Stan Cox e87eb1
+++ dyninst-9.3.1/dyninstAPI/src/BPatch_memoryAccess.C	2017-03-07 23:07:48.928927991 -0500
Stan Cox e87eb1
@@ -33,10 +33,10 @@
Stan Cox e87eb1
 #include <stdlib.h>
Stan Cox e87eb1
 #include <string.h>
Stan Cox e87eb1
 
Stan Cox e87eb1
+#include "../../common/src/Types.h"
Stan Cox e87eb1
 #include "BPatch_memoryAccess_NP.h"
Stan Cox e87eb1
 #include "BPatch_Vector.h"
Stan Cox e87eb1
 #include "BPatch_point.h"
Stan Cox e87eb1
-#include "../../common/src/Types.h"
Stan Cox e87eb1
 
Stan Cox e87eb1
 BPatch_addrSpec_NP::BPatch_addrSpec_NP(long _imm, int _ra, int _rb, int _scale) :
Stan Cox e87eb1
    imm(_imm), 
Stan Cox e87eb1
Stan Cox e87eb1
Stan Cox e87eb1
--- dyninst-9.3.1/dyninstAPI/h/BPatch_instruction.h.sv	2017-03-08 09:06:46.638171175 -0500
Stan Cox e87eb1
+++ dyninst-9.3.1/dyninstAPI/h/BPatch_instruction.h	2017-03-08 09:00:39.455564403 -0500
Stan Cox e87eb1
@@ -69,7 +69,7 @@
Stan Cox e87eb1
  public:
Stan Cox e87eb1
 
Stan Cox e87eb1
   BPatch_instruction(internal_instruction *insn,
Stan Cox e87eb1
-	  uintptr_t _addr);
Stan Cox e87eb1
+	  Dyninst::Address _addr);
Stan Cox e87eb1
   virtual ~BPatch_instruction();
Stan Cox e87eb1
 
Stan Cox e87eb1
   void getInstruction(const unsigned char *&_buffer, unsigned char &_length);
Stan Cox e87eb1
Stan Cox e87eb1
Stan Cox e87eb1
--- dyninst-9.3.1/dyninstAPI/h/BPatch_memoryAccess_NP.h.sv	2017-03-07 22:43:56.645745821 -0500
Stan Cox e87eb1
+++ dyninst-9.3.1/dyninstAPI/h/BPatch_memoryAccess_NP.h	2017-03-08 10:39:30.122643332 -0500
Stan Cox e87eb1
@@ -121,27 +121,27 @@
Stan Cox e87eb1
   static BPatch_memoryAccess* init_tables();
Stan Cox e87eb1
 
Stan Cox e87eb1
   // initializes only the first access; #bytes is a constant
Stan Cox e87eb1
-  BPatch_memoryAccess(internal_instruction *, uintptr_t _addr,
Stan Cox e87eb1
+  BPatch_memoryAccess(internal_instruction *, Dyninst::Address _addr,
Stan Cox e87eb1
 		      bool _isLoad, bool _isStore, unsigned int _bytes,
Stan Cox e87eb1
 		      long _imm, int _ra, int _rb, unsigned int _scale = 0,
Stan Cox e87eb1
 		      int _cond = -1, bool _nt = false);
Stan Cox e87eb1
 
Stan Cox e87eb1
   // initializes only the first access; #bytes is an expression w/scale
Stan Cox e87eb1
-  BPatch_memoryAccess(internal_instruction *insn, uintptr_t _addr,
Stan Cox e87eb1
+  BPatch_memoryAccess(internal_instruction *insn, Dyninst::Address _addr,
Stan Cox e87eb1
                       bool _isinternal_Load, bool _isStore,
Stan Cox e87eb1
                       long _imm_s, int _ra_s, int _rb_s, unsigned int _scale_s,
Stan Cox e87eb1
                       long _imm_c, int _ra_c, int _rb_c, unsigned int _scale_c,
Stan Cox e87eb1
                       int _cond, bool _nt, int _preFcn = -1);
Stan Cox e87eb1
 
Stan Cox e87eb1
   // initializes only the first access; #bytes is an expression
Stan Cox e87eb1
-  BPatch_memoryAccess(internal_instruction *insn, uintptr_t _addr,
Stan Cox e87eb1
+  BPatch_memoryAccess(internal_instruction *insn, Dyninst::Address _addr,
Stan Cox e87eb1
 		      bool _isLoad, bool _isStore, bool _isPrefetch,
Stan Cox e87eb1
 		      long _imm_s, int _ra_s, int _rb_s,
Stan Cox e87eb1
 		      long _imm_c, int _ra_c, int _rb_c,
Stan Cox e87eb1
 		      unsigned short _preFcn);
Stan Cox e87eb1
 
Stan Cox e87eb1
   // initializes only the first access; #bytes is an expression & not a prefetch
Stan Cox e87eb1
-  BPatch_memoryAccess(internal_instruction *insn, uintptr_t _addr,
Stan Cox e87eb1
+  BPatch_memoryAccess(internal_instruction *insn, Dyninst::Address _addr,
Stan Cox e87eb1
 		      bool _isLoad, bool _isStore, long _imm_s, int _ra_s, int _rb_s,
Stan Cox e87eb1
 		      long _imm_c, int _ra_c, int _rb_c);
Stan Cox e87eb1
 
Stan Cox e87eb1
@@ -156,14 +156,14 @@
Stan Cox e87eb1
               int _cond, bool _nt);
Stan Cox e87eb1
 
Stan Cox e87eb1
   // initializes both accesses; #bytes is a constant
Stan Cox e87eb1
-  BPatch_memoryAccess(internal_instruction *insn, uintptr_t _addr,
Stan Cox e87eb1
+  BPatch_memoryAccess(internal_instruction *insn, Dyninst::Address _addr,
Stan Cox e87eb1
                       bool _isLoad, bool _isStore, unsigned int _bytes,
Stan Cox e87eb1
                       long _imm, int _ra, int _rb, unsigned int _scale,
Stan Cox e87eb1
                       bool _isLoad2, bool _isStore2, unsigned int _bytes2,
Stan Cox e87eb1
                       long _imm2, int _ra2, int _rb2, unsigned int _scale2);
Stan Cox e87eb1
 
Stan Cox e87eb1
   // initializes both accesses; #bytes is an expression & not a prefetch
Stan Cox e87eb1
-  BPatch_memoryAccess(internal_instruction *insn, uintptr_t _addr, bool _isLoad, bool _isStore,
Stan Cox e87eb1
+  BPatch_memoryAccess(internal_instruction *insn, Dyninst::Address _addr, bool _isLoad, bool _isStore,
Stan Cox e87eb1
                       long _imm_s, int _ra_s, int _rb_s, unsigned int _scale_s,
Stan Cox e87eb1
                       long _imm_c, int _ra_c, int _rb_c, unsigned int _scale_c,
Stan Cox e87eb1
                       bool _isLoad2, bool _isStore2, long _imm2_s, int _ra2_s,