Commit graph

121 commits

Author SHA1 Message Date
pancake
744fad6418 Port to Termux (Android-Debian environment) 2016-08-06 05:12:58 +01:00
pancake
fe644e60ff Fix crash in r2 -a arm -b32 -c'wa str r0' 2016-06-27 15:58:43 +02:00
pancake
8a82e5cae6 Implement 'cbz' in armass-thumb 2016-06-13 11:12:20 +02:00
pancake
5903bc0d10 Fix #5083 - null deref in armass 2016-06-06 16:53:56 +02:00
pancake
95b2e511f5 Fix some warnings 2016-06-01 12:23:10 +02:00
pancake
b4bb247791 Add nop for arm64 assembler 2016-05-10 11:22:13 +02:00
Damien Zammit
af0a865d9f WIP - Totally remove host endianness dependence
- Adds endian aware functions
- Removes references to host endian
- Uses binary detected endianness else tries LE and restricts by RAsmPlugin
- Fixes gdb debugger endianness when debugging BE qemu gdbserver

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-04 23:42:17 +10:00
pancake
62195cc005 Fix #4502 - Implement blx for thumb 2016-04-05 00:15:45 +02:00
pancake
9eb63df89f Fix #4502 - Implement blx address for arm32 assembler 2016-04-03 17:35:52 +02:00
pancake
dc33b03011 Handle movk and movz in the arm64 assembler and pseudo disassembler 2016-03-17 17:26:08 +01:00
William Robinet
0c7cacc2dc Fix typos 2016-02-16 23:21:24 +01:00
pancake
55eee73c6d Fix #4061 - properly assemble ldr.w thumb instruction 2016-02-16 17:12:37 +01:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
pancake
ccc1668d98 Fix assemble of thumb 'b' instruction 2015-09-11 03:56:47 +02:00
pancake
9ff546439d Workaround for the ARM ldr assembler issue 2015-09-02 01:25:34 +02:00
pancake
b321d7fd8c Fix local var and assemble of LDR instructions in ARM eggs 2015-09-02 00:58:39 +02:00
pancake
a5655dff9b A bit dsojson leak just to avoid a crash 2015-09-01 18:44:37 +02:00
pancake
b1e267dd7a Fix gcc warnings for the gnu arm disassembler 2015-08-31 17:08:30 +02:00
pancake
605290f071 Support Thumb UDF instruction 2015-08-28 19:49:43 +02:00
pancake
1d4b0d8555 Fix some covs 2015-08-28 17:21:04 +02:00
pancake
529698f635 Add support to assemble Undefined ARM instructions 2015-08-28 15:18:52 +02:00
pancake
604cf153fa Update arm.gnu plugin to support CRC and UDF instructions 2015-08-28 14:40:25 +02:00
pancake
def4329769 Fix #3081 - Fix LDR instruction for the ARM assembler 2015-08-13 03:12:12 +02:00
Sascha Schirra
7c145226d2 Bugfix: movw/movt instructions are assembled to mov instruction 2015-08-03 12:06:55 +02:00
pancake
4c84b3a2d5 Fix arm assembler null deref #2627 2015-05-27 10:18:21 +02:00
Jeffrey Crowell
114ca3ed8f fix some more warnings found with clang 2015-04-01 21:27:12 -04:00
AntonDevil
78da2985e8 fix #2257 arm asm
There was type mismatch between declaration and definition
2015-03-30 11:57:34 +02:00
pancake
515b2e77bc Fix about 40 COVs related to memleaks and buffer overflows 2015-03-21 01:27:54 +01:00
fenugrec
61f8e60e3c ARM: rasm2: added lsls, lsrs opcodes 2015-03-17 22:18:55 +01:00
fenugrec
0f5f8f3837 ARM: rasm2: Fixed b<c> branch opcodes 2015-03-17 20:48:22 +01:00
pancake
bd58fe2450 Fix relative thumb branch assembler (ref #2193) 2015-03-17 17:55:07 +01:00
jvoisin
8ac1616daf Fix some coverity issues 2015-01-14 02:53:34 +01:00
jvoisin
759e3b24b5 Fix two trivial warnings 2015-01-13 03:05:11 +01:00
pancake
f495b5031a Handle ET_REL ELF relocs, asm.cpu for arm.cs: v8, mcortex 2014-12-28 03:53:39 +01:00
Jeffrey Crowell
ed1aae7fd1 fix lots of spelling
fix some errors from the sed script

undo file mode crap
2014-12-07 17:00:59 +01:00
Kamil Rytarowski
aadbd0f868 Fix GCC warnings: array subscript has type 'char'
Reported at NetBSD-current/amd64
GCC 4.8.4 (nb1 20141012)
2014-12-04 03:26:08 +00:00
Skia
eee51db03a Fix issue #1765 2014-11-30 18:06:14 +01:00
Julien Nabet
e20728ec15 cppcheck: fix 1 'else if' cond matches previous cond + test indice before using it 2014-11-16 18:13:06 +01:00
jvoisin
a60d82b800 Fix a lot of warnings for GCC
Less than 20 warnings remaining on my x86_64 GCC 4.9.1
2014-10-26 13:50:58 +01:00
pancake
3ee44b934e Fix rasm2 -a arm -b 16 2014-08-22 01:17:36 +02:00
pancake
4cba3d2af6 Fix non-shared capstone build 2014-06-24 13:34:11 +02:00
pancake
62a6619b7e Oops. Fix armass crash 2014-05-22 10:56:25 +02:00
pancake
e87c1745bb Add 'and' and 'mul' ARM thumb assembler opcodes 2014-05-21 23:58:13 +02:00
jvoisin
838dabba30 Fix CID 1135190 2014-04-30 12:42:51 +02:00
pancake
fcc9489c4f Fix some more warnings 2014-02-25 12:18:29 +01:00
pancake
809de9cd9c Fix #580 - Incorrect ARM far branch (applied @kikuchan patch) 2014-01-28 17:14:33 +01:00
pancake
3b3bbbb916 Add more Jamroot files and move some plugs to r2-extras 2013-12-31 15:34:27 +01:00
pancake
375b2164fe Implement 'movs' in ARM assembler 2013-12-29 02:36:28 +01:00
pancake
b546844132 Implement 'swp' instruction in the ARM assembler 2013-12-29 02:30:26 +01:00
pancake
3e5dc60379 Fix 'cmp' in ARM assembler
- gnu dis is confusing:
  cmp r3, 1, 30 -> cmp r3, 1<<(32-30)
2013-12-29 02:11:40 +01:00