pancake
b8e6b52aac
Also replace __UNIX__ with R2__UNIX__
2022-12-10 20:32:10 +01:00
pancake
97a6439055
Do the same for __WINDOWS__ -> R2__WINDOWS__
2022-12-10 20:32:10 +01:00
pancake
78a26e15fe
Double lowerdash defines should be defined only by the compiler ##build
2022-12-10 20:32:10 +01:00
pancake
ccb7351b5e
Merge RParse into RAsm ##api
2022-12-03 02:26:41 +01:00
pancake
02b7d165b4
Bring back the 'dms' command ##debug
2022-11-27 02:51:42 +01:00
pancake
81781665fe
Moving more logic between asm, arch, parse and anal ##api
2022-11-18 03:02:24 +01:00
pancake
dcda35bcba
RAnalEsil -> REsil api refactor ##api
2022-11-17 10:22:55 +01:00
pancake
5505c1aa41
Use API instead of commands to autoload a pdb ##bin
...
* Suposed to fix a crash without reproducer
* Inspired in 5a54787eeeb6134bddcdf07510a076293354627f from rizin
* Author: GustavoLCR <gugulcr@gmail.com>
* AuthorDate: Thu Jun 23 05:50:11 2022 -0300
2022-11-15 01:40:46 +01:00
pancake
fb7326b64a
Move pickle from anal to arch and add it to meson ##arch
2022-11-13 23:03:42 +01:00
pancake
46e25f8844
Remove anal.malbolge and fix CI r_esil issues ##arch
2022-11-13 22:38:58 +01:00
pancake
ce3c4f16cc
Parse the PT_DYNAMIC elf section for the preinit pointers ##bin
...
* cache section parsing in macho and elf
* Add RList.clone() api
2022-11-11 03:04:46 +01:00
pancake
53e908d802
Generalize vector instruction types instead of following intel-specific ##analysis
...
* MMX -> VEC64
* XMM -> VEC128
* YMM -> VEC256
* ZMM -> VEC512
2022-11-02 14:02:40 +01:00
pancake
9a4fe919c6
Prefer _tostring() instead of _to_string() ##api
2022-10-24 20:59:18 +02:00
pancake
241aff8d37
IO uses PID to read from child, tid is just for regs ##debug
2022-10-20 17:48:50 +02:00
pancake
c155c502d2
Some safe memleaks related to analysis and registers refcounting ##leaks
2022-10-17 20:55:10 +02:00
pancake
4ed98d75c3
Fix more leaks in RAnal and RCore
2022-10-17 01:14:56 +02:00
pancake
01937296e0
Unify RArchOp into RAnalOp using common include files ##arch
2022-10-16 22:25:24 +02:00
pancake
a06ade1796
Balance spacings in braces ##indent
2022-10-13 21:21:34 +02:00
pancake
95eff67851
Enable the leading spaces linter rule and fix them all ##lint
2022-09-24 03:43:21 +02:00
pancake
16cb83a19c
Use more tabs and add a (disabled for now) linter for it ##lint
2022-09-23 22:07:49 +02:00
pancake
1da9127150
Make RDebug.regRead() and regWrite() return bool ##debug
2022-09-21 12:22:46 +02:00
pancake
509d2bc60c
Fix warning
2022-09-21 11:19:16 +02:00
pancake
7aebf4b355
Fix linux-debug build warnings
2022-09-21 10:18:04 +02:00
pancake
eef8d67368
Fix ptrace error on latest termux
2022-09-21 10:03:51 +02:00
pancake
4801bbc13d
Add r_file_is_executable and r_file_extension apis ##api
...
* Boolify some rdebug apis
* Make json.parse arg const
2022-09-19 02:06:35 +02:00
Alex Bender
b4bac8feda
Change R_LOG_INFO to R_LOG_TODO where suitable ##api
2022-09-16 17:46:08 +02:00
pancake
1944e59783
Remove some more r_hash leftovers
2022-09-16 10:46:24 +02:00
pancake
a6e0d6c480
Merge rhash into rcrypto and improve apis ##api
...
* Update meson and make build systems
* Remove leftovers and unused dependencies
2022-09-15 11:25:40 +02:00
Alex Bender
12ea8be2ed
Change the way TODO messages are printed from eprintf to R_LOG_TODO
2022-09-15 04:07:29 +02:00
pancake
62d565e143
Fix a few GCC 12 warnings from #20087
2022-09-07 11:58:28 +02:00
pancake
84a97a57e6
Use more R_LOG in core, bin, debug, io, .. and add more lints
2022-09-06 08:08:24 +02:00
pancake
b4ed2e26f0
Tls some globals in the esil backend for debug
2022-08-24 01:42:28 +02:00
pancake
b6e7292019
Enable linting for trailing tabs ##lint
2022-08-22 23:25:40 +02:00
pancake
4e4053d4f4
Fix build for 32bit iOS debugger ##debug
...
* Regression introduced in d2d241a5c0
* May require extra testing
2022-08-22 22:57:13 +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
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
pancake
8d13147055
Use more RLOG in debug and fix the remaining warnings
2022-08-22 19:48:48 +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
55d9d55787
Linting for 'cmp (' and asan in Cf
2022-08-20 12:35:11 +02:00
Richard Patel
46d7213dba
Fix unused static in xnu_debug
2022-08-19 15:49:51 +02:00
pancake
785a469a6d
else block linting
2022-08-18 18:35:22 +02:00
pancake
7a35f03471
More source spacing linting
2022-08-18 14:37:29 +02:00
pancake
a538b2b700
Add =0 and =1 lintings
2022-08-18 13:58:40 +02:00
pancake
52a22ab995
Add lint for \tfree(
2022-08-18 10:27:06 +02:00
pancake
41cf0bcf39
Add the 'i<' lint
2022-08-18 10:27:00 +02:00
pancake
660478b3cc
sys/lint for '0 ;'
2022-08-18 10:26:56 +02:00
pancake
d93330479d
Fix debugger build
2022-08-18 09:36:41 +02:00
pancake
e4e4ecc605
Add lint for ';;$' and remove strncmp from io plugins
2022-08-18 00:11:36 +02:00
pancake
aa990230cc
Lint for col0 eprintfs
2022-08-15 18:28:07 +02:00
Richard Patel
b78855c38d
Refactor a few eprintf 'Cannot …' to R_LOG_ERROR
2022-08-01 16:46:46 +02:00