Commit Graph

2168 Commits

Author SHA1 Message Date
pancake
0dbc4ee537 Add missing files and remaining patches from import 2021-01-19 05:37:17 +01:00
wargio
3de5f99e68 AVR: Fixed profile, (null) instruction and anal ##rizin 2021-01-19 05:37:17 +01:00
wargio
085125b4ba Fixed ACR build scripts to build AVR disassembler and anal plugins 2021-01-19 05:37:17 +01:00
wargio
cfcf4f86ac Fixed AVR anal plugin warning due unpopulated mnemonic ##rizin 2021-01-19 05:37:17 +01:00
Giovanni
5ffe3e4240 Fixing clang flow warnings (#321) ##rizin 2021-01-19 05:37:17 +01:00
Liumeo
c631443b9b
Remove strncat usage (#18229) ##refactor 2021-01-14 17:24:23 +01:00
Qijia Liu
1d62d7df13 Fix memleak in db/asm/arm_64 2021-01-14 00:05:56 +01:00
pancake
171b994831 Fix #18212 - Detect RISCV gdb servers ##debug 2021-01-13 13:30:07 +01:00
pancake
cd8040b8fd Fix CI badge 2021-01-13 01:43:35 +01:00
eagleoflqj
46b8a0cc4e sync to llvm, support orr alias 2021-01-12 23:00:13 +01:00
eagleoflqj
f5a2f9ee43 Fix arm64 movk, movn, movz 2021-01-12 23:00:13 +01:00
pancake
3ab33d119e Code cleanup and other minor refactoring changes 2021-01-09 17:38:54 +01:00
eagleoflqj
8b41ca1c7f Support sbfm/ubfm in arm64 ##asm 2021-01-09 12:37:37 +01:00
eagleoflqj
bccd9c4552 Initial support for arm64 asm extendtype ##asm 2021-01-08 09:31:56 +01:00
Liumeo
592b6b0ae8
Test arm part of arm.winedbg (#18132) 2020-12-29 10:14:02 +01:00
Liumeo
531cfd252e
Add missing license of be_arm.c (#18126) 2020-12-28 21:46:42 +01:00
Liumeo
9478b3a957
Add test and update arm.winedbg (#18117) ##asm 2020-12-28 20:56:52 +01:00
Liumeo
057854a0cd
Implement i4004 assembler ##asm (#18111) 2020-12-26 23:54:11 +01:00
ivan tkachenko
38f5804ecf Move breaks inside switch-case scopes
Update DEVELOPERS.md code style section and
refactor switch-cases across all code base.
2020-12-26 11:15:03 +01:00
ivan tkachenko
d5f651a59e Trailing whitespaces are getting in the way 2020-12-26 11:15:03 +01:00
Sylvain Pelissier
8ba20160e2
Update RISC-V ESIL with sign extention operator (#18109) ##esil 2020-12-26 11:14:23 +01:00
Lazula
f2976d3c7e
Use r_str_get_fail() throughout codebase ##refactor (#18079) 2020-12-21 08:51:44 +01:00
pancake
d3157e2ed3
Fix 32 critical COVs (UAF, UB and OOB) (#18077) 2020-12-21 01:10:22 +01:00
Liumeo
a2a4248763
fix arm32 db/asm/snes_16 (#18061) 2020-12-18 22:12:10 +01:00
Lazula
4a1a624318
Clean up r_num ##util ##refactor (#18049)
* Fix function spacing for r_num functions
* Remove r_num_ntohs
* Rename r_num_to_trits to r_num_to_ternary for
  consistency with surrounding code
* Rename trits to ternary in other files
* Fix spacing in test_contrbtree.c
2020-12-17 22:24:27 +01:00
Lazula
243bc871c3 Multiple refactors in io and util ##io ##util ##refactor
* Add r_io_map macros throughout code base
* Update string NULL-checking with renamed functions r_str_get() and r_str_getf()
* Change string NULL-checks throughout code base to use functions
* Add r_str_get_fail() to specify a custom string to return if NULL-check fails
* Mark JSON to be updated with PJ with "TODO PJ"
* Incidental style updates such as missing spaces
2020-12-13 05:09:13 +01:00
pancake
66ee24393a
Fix #15264 - Implement AND and BIC instructions in the ARM64 assembler ##asm (#18021)
Co-authored-by: pancake <pancake@nopcode.org>
Co-authored-by: Francesco Tamagni <mrmacete@protonmail.ch>
2020-12-12 16:55:48 +01:00
GustavoLCR
951f46c91f
Fix ARM MTE addg/subg and big endian decoding ##anal (#17995)
* ARM: Fix addg/subg instruction decoding
* ARM: Fix MTE intruction decoding in big endian mode
2020-12-06 18:40:13 +01:00
Jeroen Domburg
b782a02ae3
Fix buffer read callback on all gnu disassembler plugins (#17992) ##disasm 2020-11-29 19:41:57 +01:00
alimansfield2016
4955ef1bc6
Fix wdm instruction decoded as 16bit instead of 8bit (#17922) ##disasm
WDM is a two byte instruction incorrectly being decoded as a single byte.
Modified the table to correct this and updated the format string appropriately.
2020-11-29 01:24:27 +01:00
pancake
b8f37cb0c3 Add few tests for v850.gnu and fix instruction bounds ##disasm 2020-11-28 19:39:23 +01:00
pancake
fee00c7b88 Implement v850.gnu disassembler plugin ##disasm 2020-11-28 19:39:23 +01:00
Aswin C
af745780ef
Add instruction descriptions for tricore ##disasm (#17942)
* Add instruction descriptions for tricore ##disasm

Add instructino descriptions which appear when `e asm.describe` is turned on for tricore architecture

* Add tricore in meson.build

Updated meson.build to add tricore in the sdb_files being built

* Make the test more representative
2020-11-23 12:34:44 +08:00
Liumeo
c611bc89c9
Fix s390x db/asm/x86_64 (#17951) 2020-11-23 12:33:22 +08:00
Liumeo
25c7389e84
fix msvc warning LNK4217 (#17955) 2020-11-22 21:10:49 +01:00
Liumeo
c83d0e0c5f
Implement ppc assembler plugin ##port ##refactor (#17923)
* implement ppc assembler plugin
* reuse code
* update .travis.yml & Dockerfile
* support arm.as big endian
2020-11-20 19:20:14 +08:00
Liumeo
da50d751b7
Fix System Z ELF asm.arch & bits (#17936) 2020-11-19 11:43:14 +08:00
Anton Kochkov
5da1b3b076 Fix some warnings 2020-11-16 18:56:21 +08:00
Liumeo
d4519ef324
Fix msvc warning c4090 in z80 (#17883) 2020-11-01 01:15:13 +01:00
eagleoflqj
6279aa6301 fix travis arm64 db/asm/dalvik 2020-10-25 01:32:02 +02:00
eagleoflqj
9fb7fc3bcd fix travis arm64 db/tools/rasm2 2020-10-19 11:55:37 +02:00
Riccardo Schirone
81e487429f
Use -Wno-cpp to avoid errors on #warning (#17785) 2020-10-14 16:57:07 +08:00
Riccardo Schirone
1e58692071
Fix incorrect uses of printf-like functions ##refactor (#17648) 2020-10-13 16:26:15 +02:00
Riccardo Schirone
741d22ed61
Use -Werror when building in CI (#17781) 2020-10-13 12:42:57 +02:00
pancake
b42fe2c807
Complete v850 instruction descriptions ##asm (#17764)
Co-authored-by: pancake <pancake@nopcode.org>
2020-10-10 12:14:49 +08:00
pancake
c521a6290c
Move spc700 asm,bin plugins to radare2-extras ##asm (#17762)
Co-authored-by: pancake <pancake@nopcode.org>
2020-10-10 12:11:29 +08:00
plaets
452b3ce902
Fix #17746 (buffer overflow in brainfuck disassembler) ##asm (#17747) 2020-10-04 14:17:02 +02:00
Aswin C
fd99114bca
Rename asm.filter to asm.sub.names ##cons (#17737)
* Rename `asm.filter` to `asm.sub.names`
* Rename tests for `asm.filter`
2020-10-01 10:13:58 +08:00
Azox
1287f7443f
FIX ARM IT block ##anal (#17509)
* Fix asm/anal IT block for ARM
* Fix indent + missing spaces
* Fix ARM asm patch breaking test
* Remove forgotten debug printf
* Moved anal patch to separate function anal_ITblock()
* Changed to RIOBind + fix code based on comments
* Fix issue with io/rasm
* Switched to HT, still need to invalidate HT
* Add routine to track and clean ITblock

Co-authored-by: Riccardo Schirone <ret2libc@users.noreply.github.com>
2020-09-30 13:45:01 +08:00
junchao-loongson
ca9b6ac1a0
Set asm.cpu for mips.gnu derived from the ISA defined in the ELF ##bin (#17555) 2020-09-21 16:58:07 +02:00