Commit Graph

28875 Commits

Author SHA1 Message Date
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
Ben L
6f8405d107 mangling/cxx: d_expression_1: Don't peek ahead unless the current char is valid.
See-also: 956bea2cd6
2022-08-22 20:01:12 +02:00
pancake
8d13147055 Use more RLOG in debug and fix the remaining warnings 2022-08-22 19:48:48 +02:00
pancake
de2c0afcda Fix double free caused by conceptual ownership introduced recently 2022-08-22 19:47:21 +02:00
pancake
939fce3888 Add lint for C++ include support ##build 2022-08-22 19:01:34 +02:00
pancake
f9f9e367de Use rlog instead of eprintf in 300 more places 2022-08-22 14:35:04 +02:00
pancake
4706aa0f6e Add help message for /at? ##search 2022-08-22 14:31:35 +02:00
pancake
eac902d491 /at accepts a comma separated list of optypes ##search 2022-08-22 14:31:35 +02:00
pancake
58ea6757eb Honor : table modifiers in om, ##shell 2022-08-22 01:50:32 +02:00
pancake
87239d64f6 omt->om, and make omr print map size with no args ##shell
* Fill null deref if fs plugin doesnt provide the dir callback
2022-08-22 01:50:32 +02:00
pancake
02c17a9b59 Implement mdd, mdq and ms's ls -l ##fs 2022-08-22 01:50:32 +02:00
pancake
521e296fd7 Fix UAF in md<tab> by owning the graph by core in the heap, not in stack 2022-08-22 01:50:32 +02:00
pancake
82646917c7 Use RLOG in fs, fix null fs.mount and unused drx_at warning 2022-08-22 01:50:32 +02:00
pancake
53f646f098 Add initial fs.zip plugin, listing only for now ##fs 2022-08-22 01:50:32 +02:00
Richard Patel
8fc142ffa1 libFuzzer demangler target ##fuzz 2022-08-21 22:35:28 +02:00
Richard Patel
0f66a7eac0 libFuzzer bin target ##fuzz 2022-08-21 22:35:28 +02:00
Richard Patel
e319a7a71e add libFuzzer integration, r_run_parseline test ##fuzz 2022-08-21 22:35:28 +02:00
Richard Patel
52b9b7b703 More r_run_parseline fixes ##crash 2022-08-21 22:35:28 +02:00
pancake
37de3794e4 Implement s** for proper seek history parseable output ##shell 2022-08-20 23:47:31 +02:00
pancake
2da84ef851 Implement ics command to list address of class methods ##shell 2022-08-20 23:47:31 +02:00
pancake
990af88ae2 Protect ms shell with scr.interactive ##shell 2022-08-20 20:19:29 +02:00
pancake
55d9d55787
Linting for 'cmp (' and asan in Cf 2022-08-20 12:35:11 +02:00