Commit Graph

1939 Commits

Author SHA1 Message Date
radare
42db45025f
Fix #13208 - Initial import of the asm.null plugin ##asm 2019-02-27 11:40:43 +01:00
-TOSH-
29eba0a3cf Try a fix for #13072 - invalid address in dalvik disassembler 2019-02-17 20:24:55 +01:00
Riccardo Schirone
23161bbf7f Remove most warnings during compilation 2019-02-14 10:40:25 +01:00
Riccardo Schirone
f702202c22 Update list of sdb files to build and install ##meson (#13065) 2019-02-12 16:12:50 +01:00
radare
364c328555
Fix vv_ and signed addresses bug in esil for x86.cs (fixes kernel emulation) ##esil 2019-02-03 18:41:11 -06:00
pancake
f33ebcbd89 Use r_return in RAsm APIs and fix some regressions ##asm 2019-02-04 00:25:27 +01:00
pancake
0daae3d9af Remove R_ASM_BUFSIZE, all buffers are now dynamic ##asm 2019-02-04 00:23:40 +01:00
GustavoLCR
8facea2680 Fix arm assembler in Windows 2019-01-31 13:38:50 -06:00
GustavoLCR
452113e7f8 Fix x86 assembler in Windows 2019-01-31 13:38:50 -06:00
Giovanni
80988e0925 Fix conversion f32.const or f64.const ##wasm 2019-01-21 12:14:24 +01:00
Pepe Vila
ddb925a9b3 Add initial Wasm support for atomic instructions. Fix get func offset from id. (#12833) 2019-01-18 16:32:33 +01:00
Giovanni
5f931603de WebAssembly improvements in branch lines and namings ##wasm 2019-01-18 11:29:51 +01:00
GustavoLCR
7bd288c454 Fix #11249 - Fix register not being assigned ##assembler 2019-01-18 11:28:27 +01:00
Simon Shi
9ed70e42e2 Fix arm 64 assemble for msr/mrs OPs ##asm 2019-01-15 09:16:45 +01:00
lzutao
1365948cee Do not use reversed keyword of meson ##build
`files` is a reversed keyword in meson. Try to avoid using it.
2019-01-10 14:15:50 +01:00
dav1901
37ea17d1a2 Minor code cleanups/fixes (#12714) 2019-01-09 22:06:12 +01:00
GustavoLCR
cffe939dae Fix #12431 - Add X86_32 Control/Debug registers assembly ##assembler 2019-01-09 18:29:26 +01:00
Simon Shi
0fdcc3716a Fix ARM64 assemble for "b ." ("b 0x0") ##assembly 2019-01-09 10:56:12 +01:00
Michael Scherer
e036b76a28 Fix arm.gnu build on pre-C99 compilers (#12696) 2019-01-08 16:45:03 +01:00
pancake
fde1b27a8c Fix asserts from 'wa cmovs eax,ecx' 2019-01-05 13:32:16 +01:00
Giovanni
e5b9afffb2 Fix 11141 - replaced R_ASM_BUFSIZE with RStrBuf* 2019-01-04 23:00:22 +01:00
dav1901
ceeb25ce49 Minor code cleanups/fixes (#12595)
* Minor code cleanups/fixes
* use r_base64_encode_dyn
* Fix clang-analyzer warning(uninit var)
2019-01-03 00:30:06 +01:00
Kirill Zhumarin
c6dc91bd20 Allow select cpu for arm.gnu ##disasm 2019-01-01 19:58:29 +01:00
pancake
b29f5bb54a Fix some issues reported by clang-analyzer 2018-12-31 05:36:14 +01:00
pancake
0653e4d0aa Rename m68xx to m680x for consistency 2018-12-29 17:42:07 +01:00
pancake
7aae8a7441 Add support for m68xx disassembler + analysis from capstone ##disasm 2018-12-29 17:03:40 +01:00
radare
c9e87787f1
Initial support for 6502 with Capstone ##disasm 2018-12-29 16:22:08 +01:00
lzutao
9cc6d2d291 meson: Do not use glob with meson ##build
* meson: Explicit is better than implicit
* meson: Fix deprecated warnings in Meson 0.49.0
* meson: Do not need separate array for installed files

libr/socket/meson.build:30: DEPRECATION: Library r_socket was passed to
the "libraries" keyword argument of a previous call to generate() method
instead of first positional argument. Adding r_socket to "Requires" field,
but this is a deprecated behaviour that will change in a future version
of Meson. Please report the issue if this warning cannot be avoided in
your case.
2018-12-27 14:17:54 +01:00
radare
1fcf1bb784 Fix #12544 - 'jalr t9' is an alias for 'jalr ra ra t9' (#12551) 2018-12-24 18:28:33 +08:00
radare
79008a223e
Fix #12543 - Support backward branch and bl assembling for arm64 (#12552) 2018-12-24 09:22:54 +01:00
dav1901
f24556c189 Fix few clang-analyzer warnings (#12548) 2018-12-24 01:18:12 +01:00
Riccardo Schirone
738bc9cb19 Fix warnings by using more r_str_ncpy
* Fix wrong logic in visual_search

When the string to be searched is wrapped in " ", you want to remove the
first and last quotes and look only for the internal string.

* Increase size to prevent string truncation (and fix compiler warning)
* Fix "destination unchanged after copying no bytes" warning
* Move msp430_register_names where it belongs to
* Fix Wstringop-truncation warning
2018-12-19 12:07:49 +01:00
pancake
276effe4f2 Properly fix the static build issue that caused generic build fail 2018-12-17 12:49:49 +01:00
iamahuman
4462e73306 Move mipsasm from mips_gnu to mips_cs
Including mipsasm.o in mips_gnu prevents builds with plugin configurations
lacking libopcode (e.g. emscripten / static.nogpl) from working properly.
2018-12-15 18:32:24 +01:00
dav1901
5b644dcb74 Minor cleanups/fixes (#12478) 2018-12-14 00:17:50 +01:00
dav1901
97b94b3f94 Fix more clang warnings (#12458) 2018-12-12 12:22:36 +01:00
David Carlier
9c158c9e41 Fixing few leaks 2018-12-11 15:55:38 +01:00
Ben Gardiner
31f03570cd Small msp430 improvements ##anal
* msp430: registers names for pc, sp, sr and cg
* msp430 initialize more default op fields
2018-12-11 03:17:39 +01:00
David CARLIER
e5c14c167b Fix #12417/#12418 (arm assembler heap overflows) 2018-12-10 16:42:02 +01:00
dav1901
d067c16266 Fix more clang-analyzer warnings (#12427) 2018-12-10 14:41:38 +01:00
radare
a3d181a8a0
Fixes spotted by clang-analyzer (#12391) 2018-12-04 10:45:46 +01:00
pancake
df167c7db5 Fix #12376 - crash in: rasm2 -a arm -b 64 '0 ,0,0,0,0,0,0,' 2018-12-03 15:29:26 +01:00
radare
9b46d38dd3
Fix #12372 and #12373 - Crash in x86 assembler (#12380)
0 ,0,[bP-bL-bP-bL-bL-r-bL-bP-bL-bL-
mov ,0,[ax+Bx-ax+Bx-ax+ax+Bx-ax+Bx--
leA ,0,[bP-bL-bL-bP-bL-bP-bL-60@bL-
leA ,0,[bP-bL-r-bP-bL-bP-bL-60@bL-
mov ,0,[ax+Bx-ax+Bx-ax+ax+Bx-ax+Bx--
2018-12-03 01:46:58 +01:00
Riccardo Schirone
baf9305ea2 Warn fixes (#12360)
* Remove unused variable from __io_attach
* Avoid using empty string with snprintf, just set \0
2018-11-30 12:09:01 +01:00
dav1901
cc26fd73ba Minor fixes/cleanups (#12349) 2018-11-29 11:22:32 +01:00
pancake
52e614035e Fix #12336 - Handle asm.cpu in the CRIS disassembler 2018-11-29 11:01:23 +01:00
pancake
13d5fcdd87 Fix msp430 disasm and warnings 2018-11-27 16:43:13 +01:00
David CARLIER
260a9e64cc Couple of leak fixes, div by zero avoidance. (#12338) 2018-11-27 15:46:56 +01:00
pancake
c83d5f4664 Handle asm.syntax and call jump/fail for msp430 ##disasm 2018-11-27 15:38:26 +01:00
ahroach
2a071737c2 Fix typos in avr.sdb 2018-11-24 04:13:11 +01:00