1443 Commits

Author SHA1 Message Date
pancake
e076734fb9 Fix #7307 - Remove harmless warnings reported by a Debian user 2017-04-18 16:22:06 +02:00
Sven Steinbauer
841707dffe Add more str* ops for arm assembler (#7306)
* strh
* strd
* strexd
* strexh
* strb
* strbt

FIX #7251
2017-04-18 15:39:25 +02:00
Sven Steinbauer
03f0ad4187 Fix #7299 - Fix handling and output for arm bic op (#7302) 2017-04-18 13:00:37 +02:00
pancake
2f8d25286a Fix #7300 - null deref in armass for mrc 2017-04-18 11:30:37 +02:00
pancake
ffe0da0fa1 Fix many more clang-analyzer null derefs and overflows 2017-04-18 00:38:24 +02:00
pancake
5e209ecc92 Initial implementation of the anal plug for tms320c64x 2017-04-18 00:08:13 +02:00
pancake
85d2225e8a Fix build with capstone3 (tms320c64x is not available) 2017-04-17 23:50:51 +02:00
pancake
54f6efddde Upgrade capstone-next to get tms320c64x support and more fixes for SFC 2017-04-17 23:37:04 +02:00
usr_share
6d9db7e891 Implemented a sort-of-working SNES/SFC file format 2017-04-17 23:14:42 +02:00
pancake
5fc6dc30a8 Fix build 2017-04-17 23:06:44 +02:00
pancake
a66cc10d46 Fix a huge list of null derefs from clang-analyzer 2017-04-17 22:02:04 +02:00
pancake
e641318973 Fix a bunch of bugs reported by clang-analyzer 2017-04-17 19:59:14 +02:00
Pepe Vila
8570f4fc5d fixed r_types.h use in wasm (#7292) 2017-04-16 19:37:15 +02:00
Pepe Vila
40a33b3a26 Rewrite WASM to fix all oob issues 2017-04-15 19:57:54 +02:00
Sven Steinbauer
d0f70cf62e Check for negative register values (#7266) 2017-04-13 23:11:04 +02:00
pancake
65776308c9 RAR disassembler and bin plugin moved to radare2-extras 2017-04-11 13:53:58 +02:00
Sven Steinbauer
4f38a99bb2 Ignore position of immediates in arm64 (#7236)
It's not possible to assume what an immediate stands for based on its
position alone. Just parse it out as a CONSTANT type and infer type
within the operator function
2017-04-10 16:02:10 +02:00
pancake
45889c7307 Implement Pn+, and fix bugs (thx clang-analyzer)
- Update SDB (use memmove)
- Fix garbage read in capstone x86 and lm32
- Add UT16/32/64_ALIGN macro for proper (ut16*) allocations
- Add Pn+ command
2017-04-10 00:49:02 +02:00
pancake
c1d47318f8 Avoid global insn in x86.cs to avoid crash when multithreading 2017-04-08 00:52:25 +02:00
Sven Steinbauer
deb61ca804 Add mrc op for arm 32bit (#7216)
* Don't segfault if toomany operands

* Add mrc op for arm 32bit
2017-04-07 20:28:03 +02:00
pancake
c1d212dfc4 Implement opex for sparc and remove the % from the disasm 2017-04-07 20:11:01 +02:00
pancake
668b56fabf Revert "Fix some overruns in gnu-arm disassembler, there are more"
This reverts commit 3a400cae583ea250b36715a5048c0ff4b84a1e8e.
2017-04-05 15:10:30 +02:00
pancake
3a400cae58 Fix some overruns in gnu-arm disassembler, there are more 2017-04-05 11:10:34 +02:00
pancake
01477c74f0 More coverities fixed 2017-04-05 10:59:37 +02:00
pancake
a2afa236a2 Fix some null derefs and memleaks from coverity 2017-04-05 10:38:52 +02:00
pancake
bbc508b324 Move lua53 plugins to radare2-extras, available via r2pm
This reverts commit 16c2fd2fe4fcdd1b530d8792adc47dca666bd868.
2017-04-05 10:16:50 +02:00
Pepe Vila
86c8fa1a01 wasm disasm support (#7204) 2017-04-04 02:34:31 +02:00
Cararasu
16c2fd2fe4 Lua 5.3 Assembler/Disassembler, Analyzer and Binary Plugin (#3836) (#7197)
* Added Lua 5.3 Assembly and Disassembly
* Implemented Lua 5.3 Binary Analyzer #3836
* removed unnecesasry prints for lua implementation #3836

* implemented caching for parsing the lua-file #3836 grouped global data together
* added mnemonics to analyzer and fixed a wrong instructionname
* replaced llx and llu with PFMT64x
* removed trailing whitespaces from lua 5.3 assembler and binary analyzer
* made all functions in lua53 plugins that are possible static
2017-04-03 11:59:17 +02:00
alvarofe
643267ab67 Fix some warnings when compiling 2017-04-02 12:43:25 +02:00
alvarofe
42fb071d4b Fix #7198 - static code analysis by AppChecker 2017-04-02 12:22:04 +02:00
Sven Steinbauer
a6c4939b62 Fix single operand parsing for arm64 (#7191)
FIX #7189
2017-03-31 12:52:08 +02:00
Thomas Ilsche
1a72b58daa fix NULL deref on failed strbuf_new and memory leak in r_asm_mdisassemble (#7163) 2017-03-29 00:44:36 +02:00
pancake
74690db2b1 Dont enable v8 mode on arm64 for capstone 2017-03-28 13:25:29 +02:00
pancake
265a44c0d2 Fix #7133 - asm.cpu=v8 doesnt toggles cortex 2017-03-28 11:37:23 +02:00
pancake
c504b85a7c Fix #7117 - Implement s! to show near flag names for history offsets 2017-03-27 13:12:59 +02:00
pancake
6de49610ea Add 40 more asm.describe for Thumb2 2017-03-27 12:38:14 +02:00
Sven Steinbauer
3e72eb21c7 Fix bad 64 bit assembly for group1 ops (#7146) 2017-03-26 23:55:53 +02:00
Sven Steinbauer
06a36c923f Error on trailing for add op 16bit (#7147) 2017-03-26 23:55:46 +02:00
Sven Steinbauer
3aa18670ec Support assembling the BND prefix on x86.nz branch instructions 2017-03-24 12:22:04 +01:00
Q
49a54115d3 Fix multiple definition of 'snesflags' in static build 2017-03-24 11:10:30 +01:00
Giovanni
1a5ffd5221 Fix sparc regressions, ahi s and pd@x 2017-03-24 02:42:31 +01:00
radare
321e51fa6a Update the GNU ARM disassembler from Binutils (GIT) 2017-03-24 00:56:21 +01:00
/usr/share
87b78b63eb SNES: (kinda) handle X and M flags (#7095) 2017-03-23 12:53:14 +01:00
alvarofe
ce25037120 Fix #7070 - oob read wrong init buffer asm_sh.c 2017-03-20 23:28:38 +01:00
pancake
e2df61f48e Fixes for m68k -n 16 and sega mega drive roms endian 2017-03-19 11:33:39 +01:00
davidpolverari
1fb422b532 Fix #6162 - Renames r_str_concat to r_str_append 2017-03-16 22:29:49 +01:00
Sven Steinbauer
bd884531f0 Add 16bit jmp x86 (#7023)
Add 16bit jmp x86
2017-03-14 16:19:43 +00:00
Sven Steinbauer
5a4c18f49a Add ARM64 barrier ops 2017-03-13 17:53:26 +01:00
Sven Steinbauer
b4d74880c2 Add shift support to ldr instructions (#7014) 2017-03-13 14:27:35 +01:00
Simone Ferrini
a5cc36525f [armass] Added support for sequence registers in pop instruction (#6994) 2017-03-12 19:18:28 +01:00