2057 Commits

Author SHA1 Message Date
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
Sergi Àlvarez i Capilla
d812a78e2a Use system capstone if available in sys/install.sh ##build 2022-01-24 14:38:58 +01:00
Sergi Àlvarez i Capilla
dc60f57748 Fix #15497 - Don't pull capstone when using the system one 2022-01-24 07:10:22 +01:00
Sergi Àlvarez i Capilla
253d24df61 Update to the latest capstone 2022-01-24 07:10:22 +01:00
pancake
4884287b81
Update to the latest thread-friendly sdb 2022-01-18 19:25:08 +01:00
pancake
f2995c2949
Introduce r_strf and stop using sdb_fmt ##util 2022-01-18 18:35:31 +01:00
Sergi Àlvarez i Capilla
5bdc32053d Use the working commit from capstone 2022-01-10 14:32:39 +01:00
Sergi Àlvarez i Capilla
084064bdf1 Fix oobread transfering large packets via qnxr 2022-01-09 21:41:25 +01:00
pancake
24ece3a757
Remove uaf patch for csv5 (upstream is good again) 2022-01-09 19:48:35 +01:00
pancake
fb0ec6ed00
Use stdint like if there was no yesterday ##refactor
* stdint is needed to build r2, so there's no need to keep using
  those weak basic types anymore, and we can just alias them
2022-01-09 19:48:16 +01:00
Sergi Àlvarez i Capilla
75f813a4a9 Update tests and help about asm.leahints -> asm.hint.lea 2022-01-07 00:56:27 +01:00
Sergi Àlvarez i Capilla
478c7d2d1d Fix capstone v5 regression 2022-01-07 00:56:27 +01:00
Sergi Àlvarez i Capilla
6ba2de54f7 Update to the latest capstone 2022-01-06 22:55:00 +01:00