Commit Graph

28696 Commits

Author SHA1 Message Date
pancake
3d8074de19 Add cmd.bbgraph to use a different command to render the basic blocks ##graph
* Use RConfig.getb() where boolean vars are involved
2022-09-04 06:24:16 +02:00
pancake
fb28389d4a sys/lint.sh can run from any directory now 2022-09-04 00:49:56 +02:00
condret
11545cbe9e Minor bugfix in strbuf.c ##util 2022-09-03 20:49:45 +02:00
pancake
4b12f283c6
Make command repeat behave as expected with the foreach operator ##shell 2022-09-03 20:47:48 +02:00
pancake
64b4ef2aff Merge asm.arm.gnu into anal.arm.gnu ##refactor 2022-09-03 19:08:50 +02:00
pancake
e8987d4525
Fix #20655 - Zip the blob for windows ##ci 2022-09-03 18:48:52 +02:00
pancake
3d81848e1a Fix two more tests and add unix/windows in r2r's REQUIRE 2022-09-03 18:30:35 +02:00
pancake
6babe1f5af Improve the yank command and help ##shell 2022-09-03 02:18:54 +02:00
pancake
e36bfdee5a
Implement wa+ command to assemble + seek ##write 2022-09-02 21:11:41 +02:00
pancake
64904ca394
Move asm.ppc.cs into anal.ppc.cs ##refactor 2022-09-02 19:19:16 +02:00
pancake
8f56596438 Add table's :help and ignore commas in i subcommand parsing ##bin 2022-09-02 18:26:10 +02:00
pancake
71c49b274b
Fix incorrect relocs=false in macho ##bin 2022-09-02 17:34:00 +02:00
condret
df82a84f1b Fix bug in esil_cfg ##anal 2022-09-02 03:12:03 +02:00
pancake
04cff4889c Add some more asn1 oids from apple ##util 2022-08-31 16:40:56 +02:00
Francesco Tamagni
bd6337a47a Fix regressions affecting dyldcache parsing ##bin 2022-08-31 15:06:44 +02:00
pancake
aadacb2c9c Update sdb fixing windows include issues 2022-08-30 12:30:23 +02:00
pancake
c5510da68c if != ifdef on msvc ##build 2022-08-30 12:17:08 +02:00
pancake
de5f7c8bff
Fix #20653 - uaf of an unused variable in visual 2022-08-29 18:11:35 +02:00
pancake
cda4af4f5d Fix last covs 2022-08-29 18:09:37 +02:00
pancake
91738310b6 Import ia_fuzz from radare2-fuzz 2022-08-25 01:09:24 +02:00
pancake
b4ed2e26f0 Tls some globals in the esil backend for debug 2022-08-24 01:42:28 +02:00
pancake
5ce3c287db Add new 'drp*' 'arp*' commands to flag the reg arena ##debug 2022-08-23 23:54:17 +02:00
pancake
9724055874 Initial implementation of the reg:// io plugin ##io 2022-08-23 23:27:35 +02:00
pancake
c89a18067d Fix #20616 - Fix analysis when using io.cache ##io 2022-08-23 23:25:35 +02:00
pancake
34a77c1be0 Fix lintings 2022-08-23 22:00:25 +02:00
pancake
89a6b0eb83 Fix w6e and w6d, Add w6x, p6[e|d][s|z] + tests ##print
* encode, decode, hex buffers, argument strings null terminated strings, ..
2022-08-23 21:51:37 +02:00
condret
85b63cd6a6
Implement r_anal_esil_dfg_reg_is_const ##anal 2022-08-23 19:17:17 +02:00
pancake
9f0e5997b3
Remove hack fixing a bug that is now gone for agn ##graph 2022-08-23 19:16:47 +02:00
Richard Patel
a31394b39e Harden msvc demangler ##crash 2022-08-23 18:53:04 +02:00
pancake
10bf07b74b
Move bin.pdb into bin.formats.pdb 2022-08-23 18:52:25 +02:00
pancake
4cd6ff74a4 Handle pdk? pdi? and pd,? removing related warnings 2022-08-23 18:41:22 +02:00
pancake
d33d85638f Fix #20624 - Implement ic, command to query klass information ##bin 2022-08-23 17:43:52 +02:00
pancake
5ffc549708
Fix last covs 2022-08-23 17:43:34 +02:00
condret
a2db3478f5
Tag dfg nodes that are vars with constant values properly in esil_dfg.c ##esil 2022-08-23 12:16:04 +02:00
pancake
523d5fdd28 Fill null deref check in the x509 parser ##crash 2022-08-23 03:13:09 +02:00
pancake
e2d2c4538b Fix oba $$ in frida://0 global ##bin
* removed a global to be toggled after release
2022-08-23 00:54:22 +02:00
pancake
b6e7292019 Enable linting for trailing tabs ##lint 2022-08-22 23:25:40 +02:00
pancake
db747e1782
Use more R_LOG in rbin 2022-08-22 22:59:00 +02:00
pancake
4e4053d4f4 Fix build for 32bit iOS debugger ##debug
* Regression introduced in d2d241a5c0
* May require extra testing
2022-08-22 22:57:13 +02:00
pancake
0f86f0b7af Fix two more bugs in pdb found by libfuzzer ##crash 2022-08-22 22:18:26 +02:00
pancake
83b0fdbdc1 Implement r_cons_is_tty for w32 ##windows 2022-08-22 22:09:17 +02:00
pancake
d66eeb3e0c Some safe fixes in rbin ##crash
* integer overflow allocation bug in macho
* free methods may accept null
2022-08-22 22:07:56 +02:00
pancake
e2700bf951 Fix process detach in the xnu debugger ##debug
* Inspired by f6664c2cee715b54b13ba4cf77f752917242a08b from rizin
* AuthorDate: Sun Jul 10 16:06:59 2022 +0200
* Author:     Florian Märkl <info@florianmaerkl.de>
2022-08-22 21:02:34 +02:00
pancake
99f8f3e92d Fix some bugs in the pdb parser spotted by libfuzzer 2022-08-22 21:02:07 +02:00
pancake
d2d241a5c0 Fix arm64 register access in xnu debugger ##debug
* Inspired by commit e893d2fb66916734fa71589058f7de9bb8c8fbf5
* in rizinorg/rizin by Author: Florian Märkl <info@florianmaerkl.de>
* Date:   Sat Aug 6 19:09:11 2022 +0200

    Fix arm64 register access in xnu debugger

    ARM_THREAD_STATE64 fetches arm_thread_state64_t but our struct was
    arm_unified_thread_state_t, which adds a header. The pc in the register
    profile was hacked to account for the shift, but all the x-regs were
    not, so x7 had the value of x8 for example. Now we just use the specific
    state for 32 or 64.
2022-08-22 20:49:51 +02:00
Richard Patel
78ae1247ff Fuzz pdb ##fuzz 2022-08-22 20:08:07 +02:00
Richard Patel
de3b873529 Fuzz protobuf ##fuzz 2022-08-22 20:08:07 +02:00
Richard Patel
f7aabaa5ac Fuzz pkcs7, punycode, x509 ##fuzz 2022-08-22 20:08:07 +02:00
Ben L
0f7d6ea9ba mangling/cxx: d_print_comp_inner: Guard against a NULL 'typed_name'
See-also: 80024f3180
2022-08-22 20:01:12 +02:00
Ben L
7db09c663e mangling/cxx: d_encoding: Guard against NULL return values from d_right (dc)
See-also: 927e42fd52
2022-08-22 20:01:12 +02:00