28659 Commits

Author SHA1 Message Date
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 d2d241a5c05829cc28ddf4679548f7d28f6da17f
* 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
Richard Patel
4fdeaa29e5
Fix #9782 - r_run_parseline OOB read ##crash
* Fix rarun2 input truncate issue
2022-08-20 10:53:27 +02:00
Dennis Goodlett
7a13ad7722
Fix quotes in pickle assembly ##anal 2022-08-20 09:41:16 +02:00
pancake
e68613b3ff Fix warning 2022-08-20 09:40:18 +02:00
pancake
8585ece3cd Support REQUIRE in r2r tests ##tests 2022-08-20 09:37:31 +02:00
pancake
26d4ab69fb Support assembler plugin resolution by aproximated name ##arch 2022-08-20 09:00:00 +02:00
pancake
d54da4a539 Fix null assert in meta 2022-08-20 08:21:47 +02:00
pancake
084e8f018c Fix recently introduced null deref in C command 2022-08-20 02:41:31 +02:00
pancake
1e3e198818 Rename asm.arm_cs to asm.arm ##arch 2022-08-20 02:39:01 +02:00
pancake
9fea483cf4 Fix null deref crash in RTable and improve C, ##shell 2022-08-20 02:17:09 +02:00
pancake
0fb54f9413 More RLOG usage in core 2022-08-20 01:03:21 +02:00
pancake
1314163203 Add R_TH_LOCAL counter in the README 2022-08-19 23:19:46 +02:00
pancake
e4b09af81e TLS a global and add tests for e, 2022-08-19 23:11:47 +02:00
pancake
91dac00efa Better 'e!' command handling and use more R_LOG 2022-08-19 23:11:47 +02:00
pancake
8740bc55af Implement 'e,' for table format, old e, is now e: ##shell 2022-08-19 23:11:47 +02:00
pancake
bb380846d2 Fix prj.alwasyprompt description text ##config 2022-08-19 23:11:47 +02:00
pancake
cfbe17d7a8 Fix a couple of coverities in canvas and dietline ##cons 2022-08-19 23:11:47 +02:00