30929 Commits

Author SHA1 Message Date
pancake
eb855ca299 Inline sdb.hash improve performance in hash ##perf
* Perf numbers are like 2.26 to 2.17s
2023-08-18 03:52:08 +02:00
pancake
9224d22099 Use RPluginMeta in RLangPlugin ##api 2023-08-18 00:01:49 +02:00
pancake
cd0dc06c0a Rename RCons.chop() into .trim() ##api 2023-08-17 23:45:29 +02:00
pancake
372c40ec73 Rename RStrpool.ansiChop to ansiTrim() ##api 2023-08-17 23:45:29 +02:00
pancake
79749761f4 Add two missing log lines for aaa ##analysis 2023-08-17 23:31:41 +02:00
pancake
f1e6d24a30 Implement more swapped conditionals support in type propagation ##analysis 2023-08-17 23:23:19 +02:00
pancake
773a1e0b7a Fix mrproper on BSD systems (max args for rm) ##build 2023-08-17 22:34:44 +02:00
pancake
874566e6a7 RFlag.free() must return void ##api 2023-08-17 19:40:02 +02:00
pancake
1bae1bee16
Remove globals from bin.avr ##globals 2023-08-17 19:22:51 +02:00
pancake
1be11bba36
Fix type confussion bug in the RBin.loadLangs() ##bin
* And pave the road for imports_vec to happen
2023-08-17 19:12:48 +02:00
pancake
a869ae408f Remove the boffset() callback from bin plugins
* it was used only for ELF, but it was already used internally
2023-08-17 18:07:25 +02:00
pancake
0b625d5b3b
Use RPluginMeta in RBinPlugins ##api 2023-08-17 17:41:41 +02:00
pancake
6b9009e2c6 RBinPlugin.loadBuffer() -> load() .. and checkBuffer() too ##api 2023-08-17 16:36:01 +02:00
pancake
8883e58814
Fix #22132 - Add support for loading zignatures in multiple formats ##signatures
* Supports binary SDB, key=value text, r2 commands, json
* Autodetected by extension and contents
2023-08-17 16:17:06 +02:00
pancake
28a36e64dd Remove the boffset callback from the ninds and z64 plugins ##bin 2023-08-17 15:02:36 +02:00
pancake
77e4994a4f Remove init/fini from RBinPlugin ##bin
* We have loadBuffer() + destroy() already
* Not the best names, but at least there's only one
2023-08-17 15:02:36 +02:00
pancake
38183e3fd0 Remove unnecessary arguments to RBin.loadBuffer() ##bin 2023-08-17 15:02:36 +02:00
pancake
74cfeeea7f Add js example converting json zignatures into r2 scripts ##lang 2023-08-16 19:00:16 +02:00
pancake
98cef88bba Add frida based memory profiler script 2023-08-16 17:59:02 +02:00
Francesco Tamagni
a2623adbd9 Fix early bail out in dwarf-only Mach-O symbol parsing ##bin 2023-08-16 17:39:26 +02:00
pancake
7a813acabe Add memory log parser ##tests 2023-08-16 17:38:09 +02:00
pancake
38879025bf Add custom memory profiler for test/perf 2023-08-16 17:00:23 +02:00
pancake
381adc0333 Sync meson.build include list from shlr/sdb 2023-08-16 16:21:08 +02:00
pancake
667f547b39 Sync sdb 2023-08-16 12:58:11 +02:00
pancake
d19336c86b
Initial implementation of the benchmark suite ##tests
* make -C test/perf
2023-08-16 01:41:42 +02:00
pancake
9a10cc16fa Revert buggy "Fix ub in macho classparsing" and add test ##bin
* This reverts commit 1342d251bddb773d6ad324ab32eacdf31fe3f59b.
2023-08-15 17:55:43 +02:00
pancake
46a676b37d
Fix cd test/db/cmd && r2r . ##tests 2023-08-15 16:29:58 +02:00
pancake
d8a7298ded Relax =+rap://ip/ (missing file) assert check ##io 2023-08-15 15:19:09 +02:00
Luc Tielen
d4955f0cff Massage the code to make tests pass 2023-08-15 12:44:57 +02:00
Luc Tielen
cd860dac55 Add loopcounts to ESIL trace ##esil 2023-08-15 12:44:57 +02:00
Luc Tielen
cc2063c03e Refactor aaft to use less allocations for buffer ##anal 2023-08-15 12:44:57 +02:00
Luc Tielen
007ce240fb Sort blocks only once in aaft ##anal 2023-08-15 12:44:57 +02:00
Luc Tielen
bbd547e7d1 Reuse more allocated memory during aaft ##anal 2023-08-15 12:44:57 +02:00
pancake
1659452863
Add test for a bug spotted in the aac command ##analysis
* Fix will come later
2023-08-15 12:44:43 +02:00
pancake
c144bfeb45
Small optimization for cwisstable and mingw build fix 2023-08-14 17:31:08 +02:00
pancake
ba919adb74 Fix 1byte heap oobread in the brainfuck disassembler
* https://huntr.dev/bounties/06e2484c-d6f1-4497-af67-26549be9fffd/
* Kudos to @7resp4ss for reporting
2023-08-14 16:33:25 +02:00
Luc Tielen
78fafcbc00 Fix undefined behavior in swisstable impl ##sdb 2023-08-14 15:29:27 +02:00
Luc Tielen
75e01f58bd
Remove global state in visual UI ##core 2023-08-14 14:42:52 +02:00
Luc Tielen
ce98f3ce27 Fix windbg io plugin 2023-08-14 14:29:14 +02:00
pancake
25a0777d61 Fix build on windows 2023-08-14 13:53:54 +02:00
Luc Tielen
c4fc0bd72e
Swiss htuu / htpu / htsu ##util
* Remove duplicate code cwisstable code
* Update SDB and use the new swisstable backed hashtable
2023-08-14 11:07:59 +02:00
Luc Tielen
9878dd0ad9 Fix build 2023-08-14 11:05:34 +02:00
Luc Tielen
c407b48896 Remove global state for old callbacks ##esil 2023-08-14 11:05:34 +02:00
Luc Tielen
879885cfe7 Fix type of enabled field in io cache ##io 2023-08-14 11:05:34 +02:00
Luc Tielen
b79029df8c Remove dead code 2023-08-14 11:05:34 +02:00
Luc Tielen
fdeaa827f6 Refactor structure of metadata for io plugins ##io 2023-08-14 11:05:34 +02:00
Luc Tielen
26599b7dbe Refactor structure of metadata for core plugins ##core 2023-08-14 11:05:34 +02:00
Luc Tielen
98f265a416 Fix memory leak with cleaning up qjs io plugins ##io 2023-08-14 11:05:34 +02:00
Luc Tielen
089d44491a Improve mips_gnu decode handling 2023-08-14 11:05:34 +02:00
Luc Tielen
092577c718 Remove dead code ##abi 2023-08-14 11:05:34 +02:00