pancake
c691f48625
Update r2papi-0.2.6 for r2ai integration fixes
2023-11-07 22:00:17 +01:00
pancake
43ff4852ff
Revert "Dont dupe map file and name if not necessary ##debug"
...
* UnRevert RBinName
2023-11-06 09:27:52 +01:00
pancake
88c9dc3d32
Revert "Initial part of a large refactoring using RBinName, unified attributes ##bin"
...
This reverts commit 1a173e9d29
.
2023-11-06 04:11:01 +01:00
pancake
1a173e9d29
Initial part of a large refactoring using RBinName, unified attributes ##bin
...
* More partial code cleanup with the awful java bin parser
* Some flags has changed, still more to rework, but getting in shape
2023-10-31 14:16:58 +01:00
pancake
c1a17af587
Initial implementation of RBinName and RBinAttr ##bin
2023-10-29 00:16:10 +02:00
pancake
3ce13a9c36
Add readRelativePointer() from r2papi-0.2.5
2023-10-28 00:11:22 +02:00
pancake
137628110e
Upgrade r2papi-0.2.3
2023-10-23 23:35:27 +02:00
pancake
697f50e96b
off by one check
2023-10-19 18:22:49 +02:00
pancake
1bdda93e34
Fix oobread in the java disassembler ##asan
...
* Causes UB when performing analysis, not exploitable
* https://huntr.com/bounties/bbfe1f76-8fa1-4a8c-909d-65b16e970be0/
* Reported by @gandalf4a
2023-10-19 17:50:11 +02:00
pancake
9b9d4ed769
Import safetiness symbol name database from iaito ##bin
...
* Affects bin.symbol/import/reloc
* Update sdb for better indisk /istext/ check
2023-10-14 13:18:32 +02:00
pancake
89b3865802
Upgrade r2papi to the latest 0.2.2 adding Process and Module objects ##js
2023-10-12 23:35:17 +02:00
pancake
2cbc70e3ba
Upgrade r2papi to 0.2.0
2023-10-11 20:14:21 +02:00
pancake
11208dc356
Fix warning and use different prefix for haiku
2023-10-02 14:52:55 +02:00
pancake
17c369a32e
Some compilers lie about c11 support, just drop that
2023-10-02 14:16:14 +02:00
pancake
45953493ac
Build fixes for Haiku (pre-c11 compilers stuff from cwissland)
2023-10-02 13:50:51 +02:00
pancake
4671d3e61e
Update SDB to fix name conflicts in haiku
2023-10-02 13:27:43 +02:00
pancake
bd3eda6729
Update to the latest capstone v5
2023-09-07 19:06:30 +02:00
pancake
075d144b76
update r2papi again
2023-08-31 10:05:43 +02:00
pancake
0c513bc25a
More fixes coming from r2papi.ts
2023-08-30 13:26:05 +02:00
pancake
6ad3f82927
Bumping r2papi again
2023-08-30 11:46:03 +02:00
pancake
b899bac017
Update r2papi-0.1.3
2023-08-30 10:54:14 +02:00
pancake
00f015151e
Update r2papi.ts to 0.1.2: add new apis ##lang
2023-08-30 01:15:34 +02:00
pancake
5b49064e4c
Add progressbar in 'aaa' when scr.demo is set ##analysis
2023-08-29 14:56:08 +02:00
pancake
8b550d2c5b
Handle RARUN2_ARGS env var in rarun2 ##tools
2023-08-18 13:29:16 +02:00
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
667f547b39
Sync sdb
2023-08-16 12:58:11 +02:00
pancake
c144bfeb45
Small optimization for cwisstable and mingw build fix
2023-08-14 17:31:08 +02:00
Luc Tielen
78fafcbc00
Fix undefined behavior in swisstable impl ##sdb
2023-08-14 15:29:27 +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
2b56f9dcbd
update sdb
2023-08-08 14:58:28 +02:00
pancake
039b8e6fbe
Add support for cs5 and csnext ##build
...
* The next branch has changed a lot of enums and broke a lot of things
* Let's default to v5, but keep supporting next branch builds
2023-07-31 12:51:29 +02:00
Luc Tielen
e9e85a6570
Save a bit of memory in xrefs implementation ##analysis
2023-07-17 19:16:00 +02:00
pancake
b5ff13f63c
Implement qjs bridge for r2frida via io->system ##io
...
* Using -j with the new ':' command prefix to run and autocomplete
* the keywords on the target r2frida session, note that not all io
* plugins provide a system interface, so it will nop in these case
2023-07-12 21:53:02 +02:00
pancake
8c9672bc87
Use capstone-5.0 release tarball (instead of 4.0.2) ##build
2023-07-07 13:09:45 +02:00
pancake
9ae2f6dffd
Upgrade to capstone-5.0 release
2023-07-07 13:09:45 +02:00
Luc Tielen
2400ded5e9
Migrate gdb plugin ##debug
2023-07-06 17:00:51 +02:00
pancake
3bc3d3daf7
Fix glitch + tests asm.bytes.{align,space} ##disasm
2023-07-04 18:48:50 +02:00
pancake
2446852fff
Update to the latest capstone5 (almost released)
2023-07-04 16:24:12 +02:00
Pikachu
496f2d8b79
Fix a couple of null derefs in zdiff and ls
2023-06-28 16:38:53 +02:00
pancake
b1c1219886
Mark java tests as broken until the arch refactor is done ##arch
2023-06-21 21:20:10 +02:00
Mewt R
949a84bc05
LZ4 removal for make and meson, relates to #19849 ##build
2023-06-18 20:59:07 +02:00
pancake
beaf261fb7
Fix another oobread in the java bin parser
2023-06-18 11:33:16 +02:00
pancake
f6bbef2767
Fix two more oobreads in the java parser
2023-06-17 22:44:23 +02:00
pancake
30c55703ea
Fix oobs in the java parser, use RLOG and stop earlier ##crash
2023-06-17 22:33:15 +02:00
pancake
878fb589ab
Fix some oobreads in the java and dalvik disassemblers
2023-06-17 19:04:09 +02:00
Luc Tielen
c477dfd7a4
Some more Rm 590
2023-06-12 17:53:18 +02:00
pancake
e56c1ee7fe
Fix reading and parsing /proc/pid/maps from remote gdb on android ##debug
...
* Tested on Android12 / arm64
2023-06-08 11:35:01 +02:00
pancake
d72e6a65ae
Fix 1byte oobread bug in the java decoder spotted by arch
2023-06-07 13:09:41 +02:00
Luc Tielen
6799fa41af
Fix undefined behavior when reading java uints ##shlr
2023-06-05 14:26:41 +02:00
pancake
eb6f28b174
Filter out the java symbols that shouldnt be public in abidiff
2023-06-04 09:51:31 +02:00
pancake
b0b1a49eb7
Update capstone to fix arm64/cr0 bug and better ppc
2023-05-29 17:39:26 +02:00
Luc Tielen
99c43664f9
Move .inc files to .inc.c for editor support ##main
2023-05-23 20:05:17 +02:00
pancake
f500fbe771
Update r2papi.ts 0.1.1 ##lang
2023-05-18 02:44:05 +02:00
pancake
690ece1508
Show capstone version in r2 -v ##shell
2023-05-16 16:37:19 +02:00
pancake
4c6d3bdd49
Update to the latest capstone for new sh and tricore ##arch
2023-05-16 11:34:10 +02:00
pancake
95b6db1799
Update SDB to fix a wrong guard
2023-05-16 06:34:37 +02:00
pancake
4573e545fd
Add r2bolt webui PoC ##webui
2023-05-04 10:34:04 +02:00
pancake
fc7dfac27c
Update SDB to the latest ( #21683 )
2023-05-02 21:58:17 +02:00
pancake
791545c474
Fix 64bit column register listing glitch ##debug
2023-05-02 13:10:36 +02:00
pancake
b13b3548c7
Update to the latest wasi-sdk-20 ##build
2023-05-02 11:12:45 +02:00
pancake
235daf3799
Track recursivity calls in the HFS parser to prevent stack exhaution ##crash
2023-05-02 10:50:29 +02:00
pancake
25d38bb99f
Add test and fix oobread in the hfs parser ##fs
2023-04-25 20:06:28 +02:00
Ildar
6e70a4c79e
Replace strtok by thread-safe r_str_tok_r
2023-04-22 20:52:23 +02:00
pancake
a309460b2e
Fix division by zero in the HFS parser ##crash
2023-04-20 15:56:11 +02:00
pancake
92dd4ac507
Fix oobread segfault in the grub's HFS parser ##crash
...
* Reproducer: d1193639-a30b-4b35-abf5-6ded4a8a396f
2023-04-19 21:32:35 +02:00
pancake
5e4a86f564
Fix ininite loop in the ext2 grub code (DDoS) ##crash
2023-04-19 19:40:49 +02:00
Ildar Sadykov
2874ef7125
Implement r_str_tok_r without breaking abi
...
* reduce the strtok usage
2023-04-17 00:52:31 +02:00
pancake
277e0aa606
Fix #21559 - k&r syntax is deprecated for c2x compat reasons
2023-04-12 11:56:24 +02:00
pancake
ce02212bfe
Migrate the sparc.gnu plugin ##arch
2023-04-09 01:48:18 +02:00
pancake
bed9f722b3
Fix uninitialized oobread in the elf parser
2023-03-28 22:57:33 +02:00
pancake
a215f295a8
Migrate the pdp11 plugin ##arch
2023-03-28 15:42:28 +02:00
pancake
71440e8264
Update capstone
2023-03-22 06:57:52 +01:00
Mewt R
d28be65647
meson support for smallz4, relates to #19849 ##build
2023-03-18 19:06:34 +01:00
MewtR
b06cfb30d8
Use Smallz4 instead of liblz4 which is optional ##build
...
* Initial smallz4 support, related to #19849
* Patch smallz4 to return -1 on error (as opposed to just exit)
* Add new function 'unlz4Block_userPtr' that can decompress an lz4 block
* New '--with-smallz4' flag to compile and use smallz4 instead of lz4
* Reuse the new unlz4Block_userPtr function to remove duplicate code from unlz4_userPtr in smallz4
* smallz4: remove patch, format small4cat.c properly
2023-03-15 15:29:54 +01:00
pancake
09169f97f7
Move the tarball distribution code into dist/tarball ##ci
2023-03-15 12:03:21 +01:00
pancake
451f02f456
Update to the latest capstone for SH and arm64 improvements ##arch
2023-03-09 13:19:34 +01:00
pancake
2bea582527
Fix #21439 - Fix missaligned read in the hfs parser
2023-03-08 12:34:49 +01:00
pancake
1d394c3839
Fix sign warnings in the quickjs code
2023-03-02 20:55:29 +01:00
pancake
b87dfa4585
Run the pending jobs in the qjs repl and expose r2pipe module ##lang
2023-03-02 13:10:11 +01:00
pancake
35c591c625
Fix #21287 - compilation with .c in path ##build
2023-02-20 22:42:26 +01:00
Mewt R
ad505cfe7b
Don't recreate libcapstone.a if it's already there
2023-02-19 03:26:12 +01:00
Mohamed Lemine Ould El-Hadj
874a2813ab
Fix 'no rule to make libcapstone.a' error ##build
2023-02-12 06:00:59 +01:00
pancake
56379ce713
Fixes for the offline tarball generation ##build
2023-01-23 18:01:07 +01:00
pancake
1ec8c152a2
Do not depend on strcasecmp in libzip, build fail on Centos7 ##build
2023-01-22 16:03:19 +01:00
pancake
fd4bbe063b
Disable stack overflow protection in quickjs for asan builds
2023-01-21 02:34:12 +01:00
Vitaly Bogdanov
8bd67c93a1
Add A0 register into MIPS register profiles
...
A0 register is required to successfully apply the profile.
2023-01-17 13:48:52 +01:00
Vitaly Bogdanov
7f101ba546
Add required A0 register into x86 register profile provided by GDB ##debug
2023-01-16 18:34:18 +01:00
Vitaly Bogdanov
77c19aa18d
Use proper type for the XMM register inside profile recieved ##debug
2023-01-16 18:33:52 +01:00
pancake
4ea4c22923
Finish the CONFIG_NOABORT patch for quickjs
2023-01-16 11:32:42 +01:00
pancake
ca6ece2aba
Add QJS_NOABORT option to avoid aborts ##qjs
2023-01-11 00:18:13 +01:00
pancake
49d609c86b
Update to the latest tinycc in the CI ##build
2023-01-11 00:18:13 +01:00
pancake
db0033a4e7
Update r2papi-ts 0.0.23
2023-01-09 00:53:50 +01:00
Vitaly Bogdanov
88bdb74385
Mark libgdbr_t.server_debug field as deprecated
2023-01-08 22:54:39 +01:00
Vitaly Bogdanov
e433acc266
Remove libgdbr_t.server_debug flag and =g!
command
...
After replacing eprintf by R_LOG_ calls one can enable GDB server
packets logging using `e log.level=5` command.
2023-01-08 20:07:38 +01:00
Vitaly Bogdanov
159e7d922a
Replace eprintf by R_LOG_ calls inside GDB module
2023-01-08 20:07:38 +01:00
pancake
aa63e120b2
Enable stack overflow check when recursive calls ##js
...
* `""js var a = foo; function foo() { a(); } a();`
2023-01-02 01:57:14 +01:00
pancake
695fe0831e
Bump for r2papi-0.0.22
2023-01-01 18:12:40 +01:00
pancake
a6bb0b6c15
Upgrade to r2papi-0.0.20
2022-12-30 11:09:01 +01:00
pancake
658cfd6566
Update r2papi-0.0.18 with many new apis
2022-12-29 23:49:32 +01:00
pancake
739b297a5d
Improve error messages in the qjs repl ##js
2022-12-29 23:15:11 +01:00