Giovanni
bb7d741712
Enforce 32bit and jumps for VLE-PPC
2019-04-01 14:47:12 +02:00
GustavoLCR
a6107c4290
Fix arm thumb endianess ( #13572 )
2019-03-31 02:22:38 -05:00
Giovanni
399bba4152
Fix bugs on E_MASK_D and BD24 (343eeb9) powerpc/vle ##disasm
2019-03-29 10:26:50 +01:00
Giovanni
8058018973
Fix #11133 - Remove buf_hex frield from RAsmOp ##refactor
2019-03-26 12:50:13 +01:00
Fabrice Martinez
026c0426db
* m68k architecture is always 32 bits and big endian ##anal
...
* SP was declared as 'sp' in the register profile which doesn't exist. Stack pointer is a7.
* Most C compilers for m68k (e.g. LatticeC) use a6 as stack frame pointer via LINK and UNLK instructions, declare a6 as BP
2019-03-22 14:52:01 +01:00
Vasilij Schneidermann
a4b76d85dd
Support asm.pseudo=1 in pad command ##disasm
2019-03-22 00:43:40 +01:00
Giovanni
9b9096aa87
Sync with libvle (bugfixing & new instructions) ##disasm
2019-03-19 18:11:14 +01:00
radare
e04f31a313
Completely kill the msvc/ directory and the unix-specific includes workarounds
2019-03-19 17:34:02 +01:00
Fabrice Martinez
23b86b5c46
Fix m68k analysis issues ##anal
...
- Fill op->jump and op->fail for all branch and jump instructions
- Handle short and word variants of BSR (BSR.S and BSR.W)
- DBxx instructions treated as conditional branches
- Handle PC relative variant of JMP & JSR
- Bugfix for the decoding of long instructions (code in asm_m68k_cs.c assumed a maximum of 8 bytes, but maximum is 10 bytes)
2019-03-18 13:23:47 +01:00
radare
893e08a392
Initial implementation of the .offset RAsm directive ##asm
2019-03-18 10:45:22 +01:00
Giovanni
5251c20ebf
Updated ppc's libvle with latest fixes ##asm
2019-03-13 12:17:32 +01:00
Vasilij Schneidermann
8f23ec216e
Remove extraneous space for scd instruction for chip8
2019-03-09 15:38:06 +01:00
GustavoLCR
ff4d9a567c
Fix #13244 - Assembler support for x86 bsf and bsr instructions ( #13303 )
2019-03-07 01:26:19 +01:00
Lev Aronsky
93ade35336
Fix memory leak in strbuf. ( #13273 )
...
* Fix memory leak in strbuf.
`sb->ptr` was set to NULL without freeing the underlying data.
* Use `R_NEW` instead of `R_NEW0`, as the memory is
initialized immediately afterwards.
* Call `r_*_op_init` in `r_asm_disassemble`/`r_anal_op`.
2019-03-06 14:04:22 +01:00
Vasilij Schneidermann
6f40c5d53d
Add CHIP-8 asm descriptions ##asm
2019-03-03 02:04:49 +01:00
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