27528 Commits

Author SHA1 Message Date
pancake
4fa23038b3
Fix #19729 - Make pswj consistent with psw output ##print 2022-02-21 15:00:04 +01:00
pancake
6691d80989 Fix #19739 - Fix oobread in pv* and fix bug in pvj ##print 2022-02-21 14:15:50 +01:00
pancake
1face81feb Fix #19737 - Handle ESC and space in the ascii hex column ##visual 2022-02-20 16:57:04 +01:00
Dennis Goodlett
b6b56e700a Handle jump tables in agfm ##anal 2022-02-20 14:10:26 +01:00
Dennis Goodlett
f36e518cde
Add agfma to get assembly in mermaid graphs ##anal 2022-02-20 09:59:42 +01:00
Dennis Goodlett
517cc28a31 Fix uninitialized switch shift variable 2022-02-20 09:57:43 +01:00
Sergi Àlvarez i Capilla
d24dbb9fbb Fix DoS on macho parser spotted by scan coverity ##crash 2022-02-18 21:13:55 +01:00
pkubaj
6e4819b054
Add support for powerpc, powerpc64, powerpc64le and riscv64 on FreeBSD ##debug
* Also correct issue in vmenus.c, where ch is checked later whether it's -1, but on ARM and POWER, char is unsigned.
2022-02-18 19:25:53 +01:00
Lazula
3de3c43ec6 Free color in r_cons_pal_init() 2022-02-18 14:23:30 +01:00
Lazula
5165f0c7ba Free subprocess thread lock in r2r 2022-02-18 14:23:09 +01:00
pancake
c84b723262 Fix heap buffer overflow in dyldcache parser ##crash
* Reported by: Lazymio via huntr.dev
* Reproducer: dyldovf
2022-02-18 12:45:44 +01:00
Pau Rodriguez-Estivill
108dc76ae8 Setup artifacts retention time to 30 days 2022-02-18 12:45:11 +01:00
Pau Rodriguez-Estivill
041acbb2ca Split CI workflows 2022-02-18 12:45:11 +01:00
Pau Rodriguez-Estivill
807e92de29 Rename CI artifacts to job names 2022-02-18 12:45:11 +01:00
Pau Rodriguez-Estivill
14d071dea3 Move download artifacts as script 2022-02-18 12:45:11 +01:00
pancake
b550b267a3
Fix slow loading times for small ELF sample ##bin 2022-02-18 12:38:46 +01:00
Dennis Goodlett
eccee9beb7
Add agfm command to print cfg graphs using mermaid syntax ##analysis 2022-02-18 12:31:32 +01:00
aemmitt
f59b7dfb56 fix the arm64 sdiv and udiv instrs on div by 0 2022-02-18 08:11:49 +01:00
pancake
a7386c4b83 After release version bump 2022-02-18 01:51:10 +01:00
pancake
77cdfd2fac
Run some tests in freebsd (#19723) 2022-02-16 16:55:24 +01:00
pancake
33ce7e78a2 Add initial support for katakana ##charset
* Support multibyte charsets
2022-02-16 10:58:45 +01:00
Sergi Àlvarez i Capilla
99a3887e6a Add rasm2 and rax2 wasi/wapm packages ##build
* wapm install pancake/r2
  $ wapm run r2 -
* wapm install pancake/rax2
  $ wapm run rax2 1+1
* wapm install pancake/rasm2
  $ wapm run rasm2 -a x86 -b 32 -d 90
2022-02-16 10:58:03 +01:00
Sergi Àlvarez i Capilla
4a11460c9d Build fixes for wasi/wapm/wasm and update sdb ##build 2022-02-16 10:58:03 +01:00
Sergi Àlvarez i Capilla
2984f4d460 Release 5.6.2 5.6.2 2022-02-15 14:46:50 +01:00
Sergi Àlvarez i Capilla
90d4b07757 Fix sorting of cr16 conditional bits 2022-02-15 13:31:51 +01:00
pancake
3345147916
Properly fix the UAF in r_io_bank_map_add_top ##crash
* Associated with the CVE-2022-0559
* Reported by alkyne Choi via huntr.dev
2022-02-15 12:46:20 +01:00
pancake
a88843e989
Early break when parsing corrupted DEXs to avoid DoS ##crash
* Reported by Google clusterfuzz
* Reproducer: clusterfuzz-testcase-minimized-ia_fuzz-5227091270959104
2022-02-15 12:35:34 +01:00
Sergi Àlvarez i Capilla
46a69a5014 Fix all the latest covs which spotted new findings 2022-02-15 12:05:50 +01:00
Sergi Àlvarez i Capilla
e13fb7d183 Support building with system-provided lz4 library ##build 2022-02-15 11:43:50 +01:00
Sergi Àlvarez i Capilla
91740c46d2 Fix oobread in pxj ##crash
* Reproducer: db/cmd/cmd_print
* Proper refactoring and cleanup+testing on the works
2022-02-15 11:13:07 +01:00
Angel Diaz
aa849b682b Fix io/r_ptrace types definitions for FreeBSD (radareorg#19687) 2022-02-14 16:53:33 +01:00
Sergi Àlvarez i Capilla
ea6e426e76 Fix redefined macro warning in plan9 plugin 2022-02-14 16:39:36 +01:00
Florian M
5a7ffe4c0a Add ELF reloc patching for R_386_32 and R_386_PC32 ##bin 2022-02-14 03:16:49 +01:00
Anton Kochkov
62d6d226ff Fix cmn, teq and tst in arm32 assembler ##asm 2022-02-14 02:00:05 +01:00
pancake
dd25b01275
Fix 'disable mouse' ansi code ##cons
Co-authored-by: Segev Finer <segev208@gmail.com>
2022-02-14 01:55:27 +01:00
Sergi Àlvarez i Capilla
ed76d94144 Fix more harmless asan oobreads in pdu and fc 2022-02-14 01:50:24 +01:00
Bernhard M. Wiedemann
a2b0bfa4eb Rework SOURCE_DATE_EPOCH to be portable 2022-02-14 01:49:41 +01:00
wargio
dc7c60b1bb Handle SH, MIPS and ARM in COFF binaries ##bin 2022-02-14 00:57:27 +01:00
Sergi Àlvarez i Capilla
ea85949d18 Improve github's template for the PRs 2022-02-14 00:03:50 +01:00
Sergi Àlvarez i Capilla
46236dc4bf Add test for the w+ command 2022-02-13 23:57:24 +01:00
Sergi Àlvarez i Capilla
2e99650c15 New 'w+' command, to write a string and seek at the end ##shell 2022-02-13 23:57:24 +01:00
Sergi Àlvarez i Capilla
4145077fb9 Fix ihex:// io parser somehow not working ##io 2022-02-13 23:57:13 +01:00
Sergi Àlvarez i Capilla
83e23ac9af Fix ghosty allocation 2022-02-13 23:51:05 +01:00
pancake
b5cb90b28e Prefer memleak over usaf in io.bank's rbtree bug ##crash
* That's a workaround, proper fix will come later
* Reproducer: bins/fuzzed/iobank-crash
* Reported by Akyne Choi via huntr.dev
2022-02-13 22:34:24 +01:00
Dennis Goodlett
d843f078a0 Prevent leak when jumptable has size hint 2022-02-13 22:28:51 +01:00
Bernhard M. Wiedemann
dbc7606eda Allow to override build date with SOURCE_DATE_EPOCH
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.
This date call only works with GNU date.

Also use UTC to be independent of timezone.

This is the equivalent of 6b260b87c3345568ebeddf57fbe95c864ee8baf2 for meson.

This PR was done while working on reproducible builds for openSUSE.
2022-02-13 18:58:11 +01:00
PauRE
73cc634ba7
Partial #19687: Add release github actions workflow ##ci
* Add release github actions workflow
2022-02-13 02:04:17 +01:00
Sergi Àlvarez i Capilla
a4af656774 Support local charset file loading and fix echo issue in sdb ##charset 2022-02-12 23:04:42 +01:00
nemarci
47b2acb349
Fix pop [rsp] esil for x86 ##esil
* Fix order of operations in the ESIL code of pop with memory operand
* Added test for "pop [rsp]" emulation
2022-02-12 20:49:34 +01:00
Sergi Àlvarez i Capilla
f248f2f22f Fix last 2 covs in panels/canvas (dead code elimination) 2022-02-12 12:22:47 +01:00