Commit Graph

27513 Commits

Author SHA1 Message Date
Jules Maselbas
c08e51ced0 kvx: Minor syntax cleanup
remove unneeded returns and line break cleanup.
2022-03-05 09:46:35 +01:00
Sergi Àlvarez i Capilla
eb4a42d341 Fix the latest covs (memleaks, oobshift, syntax) 2022-03-04 11:19:47 +01:00
Sergi Àlvarez i Capilla
10517e3ff0 aaef on arm/thumb switches causes uaf ##crash
* Reported by peacock-doris via huntr.dev
* Reproducer: poc_uaf_r_reg_get
2022-03-04 11:11:49 +01:00
pancake
cf780fd055
Add an* and fix many other conceptually broken logics in an ##analysis 2022-03-04 10:08:39 +01:00
Lazula
897624cbcc Clean up files in tests 2022-03-04 09:48:42 +01:00
Lazula
a64025db4d Fix yt command 2022-03-04 00:27:39 +01:00
Lazula
30038c13f7 Remove usage of wc and awk from tests 2022-03-04 00:27:01 +01:00
Lazula
eccfb8f892
Refactor cp command () 2022-03-03 22:17:18 +01:00
Lazula
d99395bec9 Remove duplicate declarations for some r_core_cmd functions 2022-03-03 22:15:36 +01:00
Lazula
119ee01cc6 Fix inexact r_core_cmd_help_match() 2022-03-03 15:13:17 -06:00
Sergi Àlvarez i Capilla
916c16825f Fix a couple of format string warnings in the kdx disassembler 2022-03-03 13:17:56 +01:00
Sergi Àlvarez i Capilla
7269a3f5d4 Fix issue in asm.tabs.once causing iaito to trim instructions ##disasm 2022-03-03 13:15:02 +01:00
Sergi Àlvarez i Capilla
447128d1f2 After-release version bump 2022-03-03 12:26:58 +01:00
pancake
c01f6cd44d Run 'apt update' before 'apt install' in the CI to fix some 404 2022-03-03 10:54:21 +01:00
pancake
bf9102eaee Two more null deref fixes for cons/task initialization 2022-03-03 10:52:01 +01:00
pancake
a540fbfd98 Fix several null derefs in the tasks api when used from unthready builds 2022-03-03 10:15:02 +01:00
Lazula
55bfe93735 Fix problems in l command 2022-03-03 09:31:08 +01:00
Lazula
41934d21b7 Update workflows in README.md (windows/freebsd -> build) 2022-03-03 09:30:01 +01:00
Jules Maselbas
d1b1d52f69 kvx: Removed unused vec.sed script
This is already done by anal.sed, there is no needs to keep
this script around. remove it.
2022-03-02 13:56:34 +01:00
Jules Maselbas
413951f5f1 kvx: Update test/db/cmd/cmd_k for new architecture KVX 2022-03-02 13:56:34 +01:00
Jules Maselbas
b0f24d06cd kvx: Add EM_KVX auto detect on elfid 2022-03-02 13:56:34 +01:00
Jules Maselbas
0fa3c87d19 kvx: Add generated opcode 2022-03-02 13:56:34 +01:00
Jules Maselbas
e40a87f9e8 kvx: Add generation script 2022-03-02 13:56:34 +01:00
Jules Maselbas
14731d6366 Add anal plugin for kvx architecture
KVX is VLIW architecture, kind of like a DSP, it can execute more than
one "instruction" per cycle. Each cycle a bundle of instruction is
executed which is comprised of up to 6 instructions. The general rules
for bundle are: only one BCU instruction (which comes first); only one
LSU instruction; and up to 4 ALU instructions (depending on the type).

In assembly the end of a bundle is marked by a `;;` in an empty line,
here in r2 (to make things more compact and readable) the end of bundle
is appended after the last instruction, but beware that this is not valid
kvx assembly.
2022-03-02 13:56:34 +01:00
Sergi Àlvarez i Capilla
ba6c958c7b Fix sys/release-notes when HEAD a tagged ##build 2022-03-02 11:45:52 +01:00
Pau Rodriguez-Estivill
c0e102f89d Add git history before generate release notes 2022-03-02 11:33:45 +01:00
Sergi Àlvarez i Capilla
aef278ee9c Make -Dblob=true statically link all r2 libraries ##build 2022-03-02 11:30:28 +01:00
pancake
7a700bccac
Break large loops when method name resolution fails ##crash
* Reported by google's clusterfuzz
* Reproducer: clusterfuzz-testcase-minimized-ia_fuzz-4640848678092800
2022-03-02 01:24:27 +01:00
Sergi Àlvarez i Capilla
79a4f840ea Missing parenthesis in sizeof 2022-03-02 00:07:55 +01:00
Sergi Àlvarez i Capilla
aa6a1d7436 Run fewer asan tests on every commit 2022-03-01 17:04:32 +01:00
aemmitt-ns
d9cf7264d0
Implement ESIL for the Stlxr arm64 instructions ##esil
* used for atomic operations
2022-03-01 16:53:18 +01:00
Lazula
35923e8406 Always free temporary string in riscv_assemble() 2022-03-01 15:53:34 +01:00
Lazula
b11522fd94 Free z80 buffer after assembly 2022-03-01 15:53:34 +01:00
Lazula
81573f6b1d Fix strange buf_asm leak in r_asm_massemble() 2022-03-01 15:53:34 +01:00
Lazula
3ec4d2d942 Always free x86-64 mnemonic in parseOpcode() 2022-03-01 15:53:34 +01:00
Lazula
2f0ee80e72 Remove duplicate ebc disasm assignment 2022-03-01 15:53:34 +01:00
Lazula
edab13d455 Initialize and finalize op in r_asm_mdisassemble() 2022-03-01 15:53:34 +01:00
Lazula
189fe015b2 Track if armass arguments are heap allocated 2022-03-01 15:53:34 +01:00
Lazula
ac0e07d100 Free r2r subprocess lock for asm tests 2022-03-01 15:53:34 +01:00
Lazula
0cb960087d Make grep begin, end, and negate properties per-word 2022-03-01 15:51:53 +01:00
Lazula
bc877cbef6 Kill dsjson, use PJ for java json, fix java prototypes j 2022-03-01 15:50:39 +01:00
Pau Rodriguez-Estivill
69587d462d Fix download artifacts 2022-03-01 15:10:02 +01:00
Pau Rodriguez-Estivill
0c3f1927c6 Avoid running check release when not needed 2022-03-01 15:10:02 +01:00
Pau Rodriguez-Estivill
e159986435 Remove check workflow status in download-artifacts 2022-03-01 15:10:02 +01:00
pancake
3afed46fff Freebsd improvement 2022-03-01 15:10:02 +01:00
Pau Rodriguez-Estivill
774b19a2bc Join build and release workflows 2022-03-01 15:10:02 +01:00
Pau Rodriguez-Estivill
7767100782 Clear build workflow 2022-03-01 15:10:02 +01:00
Lazula
64edc476ff Add test for wtff 2022-03-01 07:26:00 +01:00
pancake
b636941cef Release 5.6.4 2022-02-28 12:30:02 +01:00
pancake
4df6a64945 Update to the latest capstone, fixing arm64 issue 2022-02-28 10:27:56 +01:00