Commit Graph

394 Commits

Author SHA1 Message Date
pancake
f29759c4c9 Remove globals in bin.sms ##globals 2022-09-10 11:11:43 +02:00
pancake
0c26327f9d Remove all global variables in rahash2 ##tools 2022-09-10 11:11:43 +02:00
pancake
8a2843bede Fix last memleaks spotted by coverity 2022-09-09 23:08:58 +02:00
pancake
7e0c4ef7c4 Tests for the "standard" splist() implementation ##util 2022-09-07 10:51:47 +02:00
pancake
7cb084d2bf Implement native r2pm pkg registry, buffer r2pm -s ##tools 2022-09-07 10:51:47 +02:00
pancake
53edb5f909 Enable r2pm-native when calling it from r2 ##tools 2022-09-06 23:24:53 +02:00
pancake
29c482c416 Better help for radiff2 2022-09-06 23:24:53 +02:00
pancake
f592b2c117 Implement radiff2 -B to specify base address ##diff
* The old -B is now -1 (gdiff output)
2022-09-06 23:24:53 +02:00
pancake
d020b38d32 Use more Config.setBoolean() and lint some cases 2022-09-06 22:23:08 +02:00
pancake
e77b76e4dd Clarify the use of radiff2 -p in the help message 2022-09-04 18:28:09 +02:00
pancake
10bf07b74b
Move bin.pdb into bin.formats.pdb 2022-08-23 18:52:25 +02:00
pancake
5ffc549708
Fix last covs 2022-08-23 17:43:34 +02:00
pancake
b6e7292019 Enable linting for trailing tabs ##lint 2022-08-22 23:25:40 +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
55d9d55787
Linting for 'cmp (' and asan in Cf 2022-08-20 12:35:11 +02:00
pancake
7ad8353838 Use R_LOG in libr.main and fix RLogLevelMatch ##tools 2022-08-19 15:31:46 +02:00
Dennis Goodlett
79f278f515
Allow rasm2 -f to open files with r_io files ##tools 2022-08-19 13:28:54 +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
adwait1-g
a4335e773f Changed malloc-->calloc in ragg2 2022-08-18 10:44:51 +02:00
adwait1-g
924990235b Fix ragg2 -C for pe64 ##tools 2022-08-18 10:43:51 +02:00
pancake
52a22ab995 Add lint for \tfree( 2022-08-18 10:27:06 +02:00
pancake
8c66266e99 Lint for trailing spaces 2022-08-15 18:21:18 +02:00
pancake
620c3fa3dd Fix (null) license on r2 -L 2022-08-14 19:19:31 +02:00
Paul B Mahol
cafbed4ea8 Fix memory leak on error path of rabin_do_operation() ##tools 2022-08-07 00:30:05 +02:00
erfur
0133e92709
Emit json when radiff2 is run with -Cj ##diff 2022-08-07 00:20:57 +02:00
Paul B Mahol
802eb32aa2 Fix leaks of allocated memory for duplicate plugins ##tools 2022-08-05 14:26:05 +02:00
pancake
d6cd7e74ba Improve pid directive in rarun2, better info reporting ##tools 2022-08-02 03:15:24 +02:00
pancake
fec0a64b41 Fix #20439 - rafind2 -V search for values like in /v ##tools 2022-07-31 19:56:39 +02:00
Paul B Mahol
5aad604a27 Fix leak when showing lib versions 2022-07-31 14:24:10 +02:00
Paul B Mahol
8ffa196193
Fix not calling r_asm_op_fini() when needed (#20506)
The RAsmOp is used on stack when disassembling and after its content is not need it needs to call its _fini to free possible heap memory previously allocated.
2022-07-29 07:30:05 -04:00
pancake
f39071a058 Fix Bx regression 2022-07-23 11:39:38 -04:00
pancake
6ee9367a1b
Use of RNum.calc in rax2 to honor error code ##tools 2022-07-23 10:23:51 -04:00
pancake
7e84240719 Fix r2pm.sh path resolution issue ##r2pm 2022-07-19 17:30:58 +02:00
Lazula
dd6aa1abfc Fix crash due to null debug file handle/uri 2022-07-17 22:01:42 +02:00
pancake
e3c09aa9c6
Build r2 with muon+samu ##ci
* Remove asm.arc leftovers
* Fix r2pm -r return value
2022-07-08 22:44:46 +02:00
pancake
b6186969eb
Merge arc from asm into anal and build it with meson ##refactor 2022-07-08 20:03:18 +02:00
Sergi Àlvarez i Capilla
3e8bea04eb Early check to avoid null deref on files with missing buffer ##bin
* Caused by a bug when xtr plugin doesnt provide the right data back
2022-07-08 12:30:31 +02:00
pancake
8939854b8c Honor opasm in rasm2 -LL output ##tools 2022-07-07 19:02:56 +02:00
pancake
e2bbe2b14e
Add a linting to avoid R_LOG calls ending with a dot ##lint 2022-07-04 17:42:25 +02:00
pancake
7085809f34 Down with capitalism - lowercase all capitalized strings in r*2 -h ##tools 2022-07-02 22:27:36 +02:00
pancake
4d3887fb1d
Don't hash files when loading, that's too heavy! 1.2s -> 0.8s ##bin 2022-07-02 21:30:17 +02:00
pancake
0475e8c2de Add RABIN2_VERBOSE env var to set bin.verbose=true in rabin2 ##tools 2022-06-30 01:59:08 +02:00
pancake
304a3a7fcf
Use more R_LOG instead of eprintfs and add more linting checks ##refactor 2022-06-28 11:24:06 +02:00
pancake
8d88e1208d Fix echo q|r2 return code 2022-06-28 02:00:26 +02:00
pancake
c73e2975d2 rabin2 -qqqqqq doesnt swap between simple and simplest now ##tools 2022-06-27 18:12:29 +02:00
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