Commit Graph

348 Commits

Author SHA1 Message Date
pancake
e69645a9c2 Add sys/lint.sh and run it in the CI ##refactor 2022-06-27 11:31:24 +02:00
pancake
040fa86a9f
Fix last covs (#20290) 2022-06-14 12:20:21 +02:00
pancake
21e99d6fa6 More core fixes for Windows 2022-06-09 23:12:33 +02:00
pancake
86b1dc9f4a Fix windows build 2022-06-09 21:48:40 +02:00
pancake
e1ba154e17 Handle R2PM_UNINSTALL on Windows ##r2pm 2022-06-09 20:52:58 +02:00
pancake
2db947f719 Fix environment message for the package manager ##r2pm 2022-06-09 20:28:14 +02:00
pancake
e3a6ba2772 Improvements in the native r2pm, being able to install samu and muon ##r2pm 2022-06-09 20:28:14 +02:00
pancake
a5f345f1dc Fix disalignment glitch in rasm2 -L and rasm2 -LL ##tools 2022-06-09 19:11:07 +02:00
pancake
4039c23f3e
Cleanup gdb:// uri handling in r2's main.c 2022-06-08 20:18:38 +02:00
pancake
4959457cc9 Expose R2_HISTORY in r2 -hh and r2 -H to locate history file ##shell 2022-06-03 20:40:02 +02:00
pancake
ac0e787647 Fix #20200 - Set PYTHON env var if not defined
* Checks for python3, python and python2 in PATH
2022-05-31 14:45:30 +02:00
RHL120
4822e23d6c
Create a struct for rvc state ##projects 2022-05-26 19:52:01 +02:00
pancake
93d9860f41
Add test for 'q' return code bug and minor cleanup r2r ##tests 2022-05-26 12:41:49 +02:00
Aleksey Kislitsa
e51af6ddf2 Correction returned code, set zero if ret isn't -1 2022-05-25 23:45:30 +02:00
pancake
8c5ffa6fe2
Use RArchConfig in RPrint ##api
* Unify seggrn, segbas, bits and endian into a single referenced struct
2022-05-22 01:02:56 +02:00
pancake
b7373f2b79 Add JSON output for r2 -V ##shell 2022-05-20 11:24:03 +02:00
pancake
f46c4e793f
Move more local static into the thread-local-storage (#20134) 2022-05-19 12:41:26 +02:00
pancake
6a832aad6c
Use RArchConfig in RReg, Add RReg.hasbits() apis ##anal
* Remove unused variables in RReg struct
* bits and big_endian is checked from archconfig
* hasbits is now accessed via api
* Ensure bits are a valid value
2022-05-17 10:12:42 +02:00
pancake
ca12052f3c Rename REgg.Cfile to REgg.cfile ##abi 2022-05-09 08:20:01 +02:00
pancake
0693e54354 Move 8051 test into db/tools/rasm2 and fix null deref in asm ##asm 2022-05-07 22:27:58 +02:00
pancake
1572f266e3 Add R2_COLOR env var for r2 when setting up scr.color ##shell 2022-05-06 08:02:37 +02:00
pancake
5b7c970f2b eprintf requires newline
* git grep eprintf | grep -v '\\n'| grep '('
2022-05-05 13:11:52 +02:00
pancake
a314a7ebde Add P* and P! to dump script and run shell in project dir ##projects
* Also makes Pd `diff` the project instead of deleting it
2022-05-05 10:05:07 +02:00
pancake
7fe3556dd7 P+ is now an alias for Ps for consistency with P- ##projects 2022-05-04 09:56:38 +02:00
pancake
86e7fd1a14 Fix #19830 - implement pushd/popd commands ##shell 2022-05-03 11:53:52 +02:00
pancake
cf888f19fd Improve binary input handling in rasm2 with 0b and Bx ##tools
* Skip _ separator `0100_0101` so its good for the eyes
2022-05-02 23:33:13 +02:00
pancake
ad20568b70 Handle mul and udiv in the arm64 assembler
* Fix arm64 assembler regressions
* Improve rasm2 binary input detection
2022-05-02 22:26:38 +02:00
pancake
6fb79e65cf Fix endian issue in binary input for rasm2 and add tests ##assembler 2022-05-02 16:17:41 +02:00
pancake
05fe032e50 Fix #20030 - Add binary input support for rasm2 ##tools 2022-05-02 11:14:09 +02:00
pancake
cdd4748192 Move asm.s390* into anal.s390* and fix aod when not using asm plugins ##refactor 2022-05-01 22:18:43 +02:00
pancake
5ba038807c
Fix last covs 2022-04-28 23:35:51 +02:00
pancake
c54ce884d8
More cleanups related to the r_arch commit 2022-04-28 12:53:49 +02:00
pancake
cfd66d0d28 Fix last covs 2022-04-25 23:00:37 +02:00
pancake
560f7fb424 Introduce r_arch.h. Use RArchConfig in RAnal and improve RRef api ##api
* Fix unaligned issue in hex asan test
2022-04-24 23:11:26 +02:00
pancake
f35fd1c33e
Initial implementation of shared RAsmConfig ##asm (#19972) 2022-04-22 19:47:25 +02:00
pancake
f68cd73f4d Check for hexpair keyword before adding a null in rafind2 ##tools 2022-04-19 20:32:48 +02:00
pancake
cef87fbc7c RLog cleanup, dont use log is a libc function 2022-04-19 11:14:57 +02:00
pancake
e7816e4d67 Improve RLog API and usage, document R2_LOG_ vars in r2 -hh ##core 2022-04-19 11:14:57 +02:00
pancake
2faf3c2e39 Run r2pm from core internally ##shell 2022-04-13 10:17:35 +02:00
pancake
8ff7008d40 Increase commit log from 3 to 10 in ##r2pm 2022-04-13 01:25:05 +02:00
pancake
2ea35bceb7 Show 'missing X info' error in rabin2 -H ##bin
* It was previously handled only in the `iH` command
2022-04-11 13:47:40 +02:00
Dennis Goodlett
9d51dc07cd
Fix autoloading of ##signatures 2022-04-01 23:18:33 +02:00
pancake
d60ab7010f Fix last covs 2022-04-01 12:50:39 +02:00
Lazula
c7dfa70ade Remove last vestiges of newshell 2022-03-29 08:07:18 +02:00
Sergi Àlvarez i Capilla
bbff894e22 Add rahash2 -J for simplified single object name=hash output ##tools 2022-03-25 22:14:18 +01:00
Sergi Àlvarez i Capilla
3c9bef2f29 Allow rahash2 -a to be passed multiple times ##tools 2022-03-25 22:14:18 +01: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
69815e22e4
Fix #19838 - Show pins in the disassembly as comments ##disasm 2022-03-20 10:49:53 +01:00
Sergi Àlvarez i Capilla
8a68ef26d4 Fix last memleaks spotted by coverity scan 2022-03-18 16:39:06 +01:00