27405 Commits

Author SHA1 Message Date
Sergi Àlvarez i Capilla
7f472c50eb Fix two minor leaks spotted by coverity 2022-02-26 13:46:46 +01:00
pancake
3e656374ed Take care of package.json when running autogen 2022-02-26 01:45:20 +01:00
pancake
09428c1799 Delete the Doxygen file 2022-02-26 01:30:57 +01:00
pancake
c7f89529a7 Check bounds when skipping words in string scan 2022-02-26 01:00:35 +01:00
pancake
19bb45f78f Honor ArchInfo.opalign in pia ##disasm 2022-02-26 00:57:05 +01:00
pancake
7cb30eaf0d Fix #19610 - Honor minopsz in pia ##disasm 2022-02-26 00:57:05 +01:00
pancake
61c2a5b9ba Fix wide32 string detection that caused to miss other ascii strings ##bin
* Update tests with more good strings and less false positives
* Ticket: https://github.com/radareorg/radare2/issues/19727
* Reproducer: rev.exe
2022-02-25 23:06:23 +01:00
pancake
0ad181b464 Sync sdb again from git 2022-02-25 22:59:29 +01:00
Sergi Àlvarez i Capilla
a9829f757f Let users change the blocksize from visual prompt 2022-02-25 16:49:30 +01:00
pancake
8959e053bc
Add some sign extend to some v850 st/sst insns ##esil 2022-02-25 16:17:37 +01:00
pancake
258656a1c9 Update to the latest sdb and acr 2022-02-25 13:30:43 +01:00
pancake
83f55161d1 Fix negative allocation in mdmpdos 2022-02-25 00:45:07 +01:00
pancake
79d108a4c2 Fix off by one read in psw 2022-02-24 12:46:29 +01:00
pancake
837d781879 Fix memory leak in RCore.cmdQueue 2022-02-24 11:57:28 +01:00
pancake
2178cd24a3 Restore and revert blocksize in V: ##visual 2022-02-24 11:30:33 +01:00
pancake
634b886e84 Fix DoS in PE/QNX/DYLDCACHE/PSX parsers ##crash
* Reported by lazymio
* Reproducer: AAA4AAAAAB4=
2022-02-24 04:53:06 +01:00
pancake
333e99190a Update list of file extensions considered scripts 2022-02-24 01:11:08 +01:00
pancake
d087e7f816
Update to the latest SDB from git (what will be 1.8.6) (#19750)
* Fix some extern definitions in include files
* Code cleanup ensuring casts everywhere
* Now compiles as C++
2022-02-24 01:06:24 +01:00
pancake
3ee2ef36c8 Fix large loading times in macho parser ##bin
* Not really a DoS, but almost
* Reported by lazymio
* Reproducer:

zvrt/gCd7QBMYWT6AAD6/2NiQGsOAAGbuAAAADQAAID7AAAAAAEAAAEBZWUgcmR4LCByY3gBHQAAABEAAAAB/wAA7wABAAFiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiY2JiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJi/3///2KdYmJidmJiZc767QIA/38BAAr/7n/WAc767QAAAgD2AB0AABAFAAAVAQAAAAHv7+/v7+/v7+/v729jYWwvc2hhcmUvcmFkYXJlMi9wZGJ4QAAAAAQAAAEBYmVxPwCQHckEAAAAANBEyQR6ABQAkETJBAAAAAAhAAAAAAIAAAAQAAIAAAAQEAAAEgAAAAEAAABlYXhAKysBAA==
2022-02-23 23:46:30 +01:00
pancake
f986d0281b Fix DoS in kernelcache bin parser ##crash
* Reported by lazymio
* Reproducer z/rt/gwAAAEuAAB//wAAAACe2QEaAAAG+s8yAOH/AQAAAA==
2022-02-23 23:46:15 +01:00
aemmitt-ns
6500381f5e
Fix operands that have an extension plus a shift (#19746)
* check op.shiftType for sign extensions in addition to op.extend
2022-02-23 00:28:11 +01:00
archcloudlabs
3b774834dc Adding NULL check to prevent segfault 2022-02-21 23:54:38 +01:00
pancake
ddc7458b4b Reorder master-specific CI workflows to the bottom 2022-02-21 21:00:55 +01:00
pancake
cfc1c5d202 Fix #19726 - fix meson definition order issue when using syslz4 ##build 2022-02-21 19:32:51 +01:00
pancake
a35f89f86e Fix oobread in macho core symbolication ##crash
* Reported by @cnitlrt via huntr.dev
2022-02-21 19:25:02 +01:00
pancake
515e592b9b Fix null deref in bin.symbols ##crash
* Reported by cnitlrt via huntr.dev
2022-02-21 18:47:11 +01:00
pancake
27fe803178 Fix DoS in the minidump parser ##crash
* Reported by lazymio via huntr.dev
* Reproducer: mdmp-dos
2022-02-21 18:32:36 +01:00
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