pancake
5a29fa2856
Fix oobread in 6502
2021-04-05 03:11:33 +02:00
pancake
0ace091ff4
Add possible asm.ppc.cpu values
2021-04-05 02:19:21 +02:00
pancake
c150dc489f
Honor asm.cpu for asm.arch=ppc.gnu ##disasm ( #18543 )
2021-04-04 22:17:17 +02:00
pancake
bcd9e0aea0
Add the m68k.gnu disassembler plugin ##disasm
2021-04-04 18:07:26 +02:00
murphy
dd46d3d359
Fix 1408737 Out-of-bounds write
2021-04-01 21:52:06 +02:00
Khairul Azhar Kasmiran
d248a2230a
dcpu16/dis.c: Use snprintf/strncpy instead of sprintf/strcpy
2021-03-15 06:09:50 +01:00
Khairul Azhar Kasmiran
ded1bafab3
Fix some uninitialized and minor memleak issues
2021-03-15 02:24:16 +01:00
Khairul Azhar Kasmiran
621f90752b
Fix overflow in dcpu16 and uninitialized warning in wasm
2021-03-15 02:24:16 +01:00
pancake
ffe9651dad
Fix #17761 - Do not trim the "ptr " when asm.syntax=masm ##disasm
2021-02-27 02:33:19 +01:00
pancake
fba880de13
Fix regression
2021-02-06 03:30:53 +01:00
Alexis Ehret
1de2e070ef
Refactor z80 assembler ##asm
2021-02-06 03:30:53 +01:00
Alexis Ehret
43aadf109d
Random dead code cleanup
2021-02-06 03:30:53 +01:00
Khairul Azhar Kasmiran
3f18a68556
Fix strncpy truncation warnings
2021-02-06 03:30:53 +01:00
pancake
0131d7901a
Code cleanup in c55x and random dead assignments deleted
2021-02-06 03:30:53 +01:00
pancake
8413fd630a
Improve .fill and rasm2 -hh with documented directives ##asm
2021-02-04 01:03:58 +01:00
Kamil Rytarowski
9d761f6a88
Avoid array subscript type issues ( #18295 )
...
Cast char to unsigned char for standard reasons and security purposes.
Fixes build issues on NetBSD.
2021-01-26 13:08:58 +01:00
Anton Kochkov
ef462a4800
Some clang-format improvements ##indent
...
* Fix for clang-format parsing error
* Align consecutive macros for clang-format
* Dont align escaped newlines
* Use spaces for some alignment
* Add clang-format script
2021-01-25 00:34:58 +01:00
pancake
c889cbadf7
Fix build for capstone5 ##build ( #18273 )
2021-01-24 19:09:43 +01:00
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