Commit Graph

2069 Commits

Author SHA1 Message Date
pancake
6f6ea27b67
Introduce R_LIKELY macros and update sdb ##core
* Bear in mind the gnuisms
2022-05-21 21:34:25 +02:00
pancake
f46c4e793f
Move more local static into the thread-local-storage (#20134) 2022-05-19 12:41:26 +02:00
pancake
7b6cfff3ca Update SPP to fix the HAVE_SYSTEM warning 2022-05-19 10:51:05 +02:00
pancake
d7f3babd63
Update sdb with fixes for -Wshadow (#20058) 2022-05-18 10:29:11 +02:00
pancake
043fa1734a Fix last covs 2022-05-10 11:36:50 +02:00
pancake
af43ff7e9d Better material webui disasm defaults ##webui 2022-05-07 21:19:48 +02:00
pancake
a3bdbaeebb Fix /index missing icon and update project commands used ##webui 2022-05-07 20:11:50 +02:00
Mario Haustein
903986629f
Make capstone include directories consistent ##build 2022-05-04 13:30:30 +02:00
pancake
14d9f03305
Honor capstone commit in ci ##build 2022-04-26 11:49:53 +02:00
pancake
ecc44b6a2f Fix oobread in java parser ##crash
* Reported by @bet4it via @huntrdev
* BountyID c8f4c2de-7d96-4ad4-857a-c099effca2d6
* Reproducer: bootstrap.class
2022-04-24 21:53:13 +02:00
pancake
0927ed3ae9 Fix oobread crash in java parser ##crash
* Reported by @bet4it via @huntrdev
* BountyID: 229a2e0d-9e5c-402f-9a24-57fa2eb1aaa7
* Reproducer: poc4java
2022-04-24 21:53:13 +02:00
pancake
a45ad575b1 Update material webui with latest tweaks 2022-04-20 00:27:17 +02:00
pancake
1e10eb92f0 Remove broken and outdated graph webui ##webui 2022-04-19 16:44:22 +02:00
pancake
a253f61c97 Update the www/m webui with latest versions of all the frameworks ##webui
* Thanks to FrenchYeti for cleaning up the build system of
* all the radare2-webuis and fixing some xss bugs in the
* material webui. Next update will happen before the release
2022-04-19 16:11:35 +02:00
Sergi Àlvarez i Capilla
8eceab96d4 Update capstone to the latest commit in the next branch 2022-04-09 11:12:24 +02:00
pancake
c8ae21f68f
Only build library archives when -Dblob is provided ##build
* Lowers the amount of objects from 2400 to 1500
2022-03-22 11:59:13 +01:00
pancake
82794237d7
Update sdb and fix some more unused return value warnings 2022-03-22 11:12:43 +01:00
pancake
245babbf9e
Lots of cleanups to reduce the regressions in TCC ##refactor
* Cleanup crypto.aes and anal.arm_cs to make the latest tcc happy
* Dont pick latest tcc. as its broken (-30 commits for now)
* Dont pass multi-dimensional arrays as argument
* Don't assume TCC supports threads, because it doesnt
* Many intrinsics are missing still for tcc on darwin-arm64
* lz4 code crashes when compiled with latest tcc and needs a full rewrit
* Add more null checks here and there
* Remove unused code in the tcc parser
2022-03-17 18:40:58 +01:00
pancake
7699f37c7d Fix warnings spotted by latest XCode (unused variables) 2022-03-17 10:12:02 +01:00
pancake
4ba0af5d1d Fix meson -Dblob=true builds for static ##windows 2022-03-16 00:48:50 +01:00
pancake
f8a35da205
Dont use != NULL as its implicit in C, even for bool casts ##refactor
$ find binr libr -name "*.c" -exec sed -i -e 's/ != NULL//g' {} \;
2022-03-15 19:54:04 +01:00
pancake
4648f448e1 Fix some static meson blob dependency leftovers ##build 2022-03-15 19:29:16 +01:00
pancake
4bed905d8a
Fix msvc warnings (#19827) 2022-03-15 19:27:34 +01:00
Sergi Àlvarez i Capilla
ae65a86282 Update to the latest yxml from git 2022-03-15 11:51:26 +01:00
Lazula
d507bda91c Remove R_EMPTY and R_EMPTY2 2022-03-13 11:26:10 +01:00
Sergi Àlvarez i Capilla
f3a9b51ba6 Update capstone5 reference commit 2022-03-10 18:29:49 +01:00
Sergi Àlvarez i Capilla
aef278ee9c Make -Dblob=true statically link all r2 libraries ##build 2022-03-02 11:30:28 +01:00
Lazula
bc877cbef6 Kill dsjson, use PJ for java json, fix java prototypes j 2022-03-01 15:50:39 +01:00
pancake
4df6a64945 Update to the latest capstone, fixing arm64 issue 2022-02-28 10:27:56 +01:00
pancake
3a5e758a4c Remove duplicated logic related to lz4 and meson 2022-02-27 19:03:10 +01:00
Sergi Àlvarez i Capilla
f8c34ed122 Fix timeout analyzing a small class reported by clusterfuzz ##crash 2022-02-26 15:14:35 +01:00
pancake
0ad181b464 Sync sdb again from git 2022-02-25 22:59:29 +01:00
pancake
8959e053bc
Add some sign extend to some v850 st/sst insns ##esil 2022-02-25 16:17:37 +01:00
pancake
258656a1c9 Update to the latest sdb and acr 2022-02-25 13:30:43 +01:00
pancake
d087e7f816
Update to the latest SDB from git (what will be 1.8.6) (#19750)
* Fix some extern definitions in include files
* Code cleanup ensuring casts everywhere
* Now compiles as C++
2022-02-24 01:06:24 +01:00
Sergi Àlvarez i Capilla
4a11460c9d Build fixes for wasi/wapm/wasm and update sdb ##build 2022-02-16 10:58:03 +01:00
Sergi Àlvarez i Capilla
46a69a5014 Fix all the latest covs which spotted new findings 2022-02-15 12:05:50 +01:00
Sergi Àlvarez i Capilla
e13fb7d183 Support building with system-provided lz4 library ##build 2022-02-15 11:43:50 +01:00
Sergi Àlvarez i Capilla
a4af656774 Support local charset file loading and fix echo issue in sdb ##charset 2022-02-12 23:04:42 +01:00
pancake
f774e4efd8 Update to the latest lz4, fix some bounds but still asserts
* make -C shlr/lz4 sync
2022-02-11 00:20:18 +01:00
Sergi Àlvarez i Capilla
a61dce25a6 Minor cleanup in bin/sdb logic 2022-02-10 19:59:17 +01:00
Sergi Àlvarez i Capilla
6c4428f018 Improve boundary checks to fix oobread segfaults ##crash
* Reported by Cen Zhang via huntr.dev
* Reproducer: bins/fuzzed/javaoob-havoc.class
2022-02-08 15:03:16 +01:00
Sergi Àlvarez i Capilla
a638f6a073 Code cleanup in shlr/java 2022-02-08 15:03:16 +01:00
Sergi Àlvarez i Capilla
b19ad118a5 Move java globals into the tls 2022-02-08 15:03:16 +01:00
Sergi Àlvarez i Capilla
9650e3c352 Fix oobread segfault in java arith8.class ##crash
* Reported by Cen Zhang via huntr.dev
2022-02-07 23:58:09 +01:00
Sergi Àlvarez i Capilla
79b39bb54d Fix java oobread in id_000000,sig_06,sync_m1,src_000048 ##crash
* Reported by Cen Zhang via huntr.dev
2022-02-07 23:58:09 +01:00
pancake
48829c64b8 Update to the latest capstone 2022-02-01 10:37:01 +01:00
pancake
50bf4d5918
Simplify meson logic and use ole's PR to fix Windows ##build
* Kudos to @oleavr for reproducing, spotting and fixing the bug!
* Context https://github.com/mesonbuild/meson/pull/9918
2022-01-31 23:54:00 +01:00
Sergi Àlvarez i Capilla
595650c0cb Upgrade to a working capstone 2022-01-28 12:21:35 +01:00
pancake
54b1fcd23c
Add CI job to verify builds with system-wide capstone ##build 2022-01-26 09:49:36 +01:00