diff options
author | bloodstalker <thabogre@gmail.com> | 2018-02-17 08:13:27 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-02-17 08:13:27 +0000 |
commit | 8bff748dd325ff45375e6f5948368e1ee024d411 (patch) | |
tree | 716f9686867b6a73eec43e9f4103a9f1c6c45079 /bruiser/bruiserffi.h | |
parent | travis fix (diff) | |
download | mutator-8bff748dd325ff45375e6f5948368e1ee024d411.tar.gz mutator-8bff748dd325ff45375e6f5948368e1ee024d411.zip |
trying to implement the nested call and global object rewriters
Diffstat (limited to '')
-rw-r--r-- | bruiser/bruiserffi.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/bruiser/bruiserffi.h b/bruiser/bruiserffi.h index 567a6f6..c06ecda 100644 --- a/bruiser/bruiserffi.h +++ b/bruiser/bruiserffi.h @@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*/ /**********************************************************************************************************************/ -//#include <capstone/capstone.h> #include <ffi.h> #include <stdint.h> /**********************************************************************************************************************/ @@ -33,15 +32,15 @@ extern "C" { X ffi_reinterpret_##X(void* result); #define X_LIST_GEN \ - X(uint8_t, "uint8_t")\ - X(uint16_t, "uint8_t")\ - X(uint32_t, "uint8_t")\ - X(uint64_t, "uint8_t")\ - X(int8_t, "uint8_t")\ - X(int16_t, "uint8_t")\ - X(int32_t, "uint8_t")\ - X(int64_t, "uint8_t")\ - X(uintptr_t, "uint8_t")\ + X(uint8_t, "for uint8_t")\ + X(uint16_t, "for uint16_t")\ + X(uint32_t, "for uint32_t")\ + X(uint64_t, "for uint64_t")\ + X(int8_t, "for int8_t")\ + X(int16_t, "for int16_t")\ + X(int32_t, "for int32_t")\ + X(int64_t, "for int64_t")\ + X(uintptr_t, "for pointers")\ #define X(X1,X2) REINTERPRET_GENERATOR(X1) X_LIST_GEN |