diff options
author | bloodstalker <thabogre@gmail.com> | 2018-02-18 20:10:51 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-02-18 20:10:51 +0000 |
commit | 9ecaa2d7abb6df52e99ea007993781e513c44a9b (patch) | |
tree | 55ca01259623a5dd4ade888d27330f0b0b1c8785 /bruiser/bruisercapstone.c | |
parent | web resources (diff) | |
download | mutator-9ecaa2d7abb6df52e99ea007993781e513c44a9b.tar.gz mutator-9ecaa2d7abb6df52e99ea007993781e513c44a9b.zip |
added some elf stuff plus leb128 encode decode functions
Diffstat (limited to 'bruiser/bruisercapstone.c')
-rw-r--r-- | bruiser/bruisercapstone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bruiser/bruisercapstone.c b/bruiser/bruisercapstone.c index e65be3b..aea791d 100644 --- a/bruiser/bruisercapstone.c +++ b/bruiser/bruisercapstone.c @@ -178,7 +178,7 @@ int call_rewriter(int offset, size_t size, uint8_t* asm_code, const char* obj) { // rewriting asm_code[size_counter] = 0xe8, size_counter++; uint8_t temp[4]; - //@DEVI-call cant be the last instructino in a function + //@DEVI-call cant be the last instructino in a function assuming its well-formed int2byte(offset + insn[j].address, temp, 4); for (int i = 0; i < 4; ++i) {asm_code[size_counter] = temp[i]; size_counter++;} continue; |