Commit Graph

143 Commits

Author SHA1 Message Date
pancake
1fb3c0fa0d
Guard more critical sections in cons and core ##threads 2022-09-23 23:29:17 +02:00
pancake
adfe8a00a0 Analysis now waits in background for the bin parsing to finish ##threads 2022-09-23 22:07:49 +02:00
pancake
3ee7a15a44
Bring back the r2 -t for parsing bin and analysing in background ##tools 2022-09-21 22:06:36 +02:00
pancake
6967f63396
Allow changing number of saved input lines ##shell
Authored-by: Paul B Mahol <onemda@gmail.com>
2022-09-16 15:50:21 +02:00
pancake
e5d8cc46af Add linting to avoid setting bool config vars with strings 2022-09-16 11:46:18 +02:00
pancake
b705e334f6 Massage more R2_580 pending changes breaking APIs and ABIs 2022-09-16 11:34:19 +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
pancake
df1dce4109
Remove the file.offset unused config variable ##config
* It was set for a while, RBinFile holds this info in loadaddr
* file.offset was conceptually wrong because its 'global'
2022-09-14 19:53:26 +02:00
pancake
d020b38d32 Use more Config.setBoolean() and lint some cases 2022-09-06 22:23:08 +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
7ad8353838 Use R_LOG in libr.main and fix RLogLevelMatch ##tools 2022-08-19 15:31:46 +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
620c3fa3dd Fix (null) license on r2 -L 2022-08-14 19:19:31 +02:00
Paul B Mahol
802eb32aa2 Fix leaks of allocated memory for duplicate plugins ##tools 2022-08-05 14:26:05 +02:00
Paul B Mahol
5aad604a27 Fix leak when showing lib versions 2022-07-31 14:24:10 +02:00
Lazula
dd6aa1abfc Fix crash due to null debug file handle/uri 2022-07-17 22:01:42 +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
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
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
21e99d6fa6 More core fixes for Windows 2022-06-09 23:12:33 +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
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
b7373f2b79 Add JSON output for r2 -V ##shell 2022-05-20 11:24:03 +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
7fe3556dd7 P+ is now an alias for Ps for consistency with P- ##projects 2022-05-04 09:56:38 +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
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
Dennis Goodlett
9d51dc07cd
Fix autoloading of ##signatures 2022-04-01 23:18:33 +02:00
Lazula
c7dfa70ade Remove last vestiges of newshell 2022-03-29 08:07:18 +02: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
pancake
9779982241 Find strings on maddr'd binaries with izz ##bin
* Test with and without the -m
2022-02-27 19:56:31 +01:00
Sergi Àlvarez i Capilla
88e8fdfbd3 Fix assert when dbg.exe.path is "" 2022-02-12 12:19:55 +01:00
RHL120
785e500a7e
A better way to check if a project has been saved ##projects
* Add a dirty var to RFlag, RAnal and RConfig
* Add  prj.alwaysprompt
* Add R_DIRTY() and R_IS_DIRTY()
2022-01-25 10:39:15 +01:00
Lazula
c6bef817ae Fix leaks when pfile is overwritten in r_main_radare2() 2022-01-15 01:11:21 +01:00
Lazula
2255bf8b5d Many indentation style fixes
* Change several 8-space indents to tabs
* Apply tab indent style when breaking long lines
* Move operators from EOL to start of next line
* Fix ternary formatting
2021-11-18 10:43:52 +01:00
condret
44e3ff56ce Remove r_io_map_new from public API ##io 2021-11-03 17:55:39 +01:00
Sergi Àlvarez i Capilla
d50657eaed Be gentle and dont try to pick the current rbinobj if none was loaded 2021-10-16 14:37:53 +02:00
pancake
c6c9f4fbce
Fix some null checks around the open_many apis ##bin 2021-10-16 14:36:08 +02:00
Dennis Goodlett
d0055f5284
Prevent merging zigns on load ##signatures
* Prevent merging ##signatures of same name on load
* Rasign2 respect -m on -S
* Optimizations
2021-10-11 22:49:21 +02:00
pancake
dfd8be6bef
Fix format string vuln in crash handler (#19136) 2021-09-25 14:02:06 +02:00
pancake
d07ca80e68 Missing replacement 2021-09-25 12:44:25 +02:00
pancake
86472a6b4f
Fail with r2 -p unexistent-project ##projects
Co-authored-by: pancake <pancake@nopcode.org>
2021-09-19 00:16:46 +02:00