Commit Graph

12347 Commits

Author SHA1 Message Date
pancake
cfa869989c The RThread.start(true) had racy deadlocks, re-enable the bg http server ##util 2022-07-20 17:36:27 +02:00
Lazula
33ad417e27 Fix leak in wts when filename is allocated but empty 2022-07-20 00:19:25 +02:00
Lazula
637cd1e4d6 Fix leaks when wan receives an invalid instruction 2022-07-20 00:19:25 +02:00
Lazula
c6a895d859 Free second path string if file does not exist in getFortuneFile() 2022-07-20 00:19:25 +02:00
Lazula
69490072c0 Remove incorrect nonnull requirement in createFunction() 2022-07-20 00:19:25 +02:00
Lazula
a1719160a4 Add null check for r->anal before clearing hints in r_core_bin_update_arch_bits() 2022-07-20 00:19:25 +02:00
Paul B Mahol
01cab5876a
Allow seek to previous result item when it is at 0 offset ##visual 2022-07-19 09:32:59 +02:00
Paul B Mahol
e43d844c18 Fix crash when calling strcmp on NULL ##crash 2022-07-18 22:42:48 +02:00
Lazula
dd6aa1abfc Fix crash due to null debug file handle/uri 2022-07-17 22:01:42 +02:00
condret
9e81c46b7d Ignore asm->immdisp ##refactor 2022-07-17 04:47:08 +02:00
pancake
2b3d0f1f0a
Handle arm64's BTI instruction as a nop ##analysis (#20452)
* Revert "ARM disassembler: don't compute [pc, reg] memory location ##analysis"

This reverts commit 97761f8ef0.
2022-07-15 14:07:21 +02:00
pancake
295c49706b Fix /as on arm64-linux and add missing tests to cover it ##search
* This needs a proper fix which will break abi
2022-07-12 14:32:20 +02:00
pancake
3d8bafccce
Handle the s# command as in 's #' ##shell 2022-07-12 02:42:30 +02:00
pancake
0fe2fab15c Workaround for the fatbin slice selection regression ##bin 2022-07-08 12:30:31 +02:00
condret
30168a2065 Use arch/bits info from anal if asm is not available in r_core_bin_update_arch_bits ##refactor 2022-07-08 12:30:31 +02:00
condret
230f735c52 Merge asm_x86_cs into anal_x86_cs ##refactor 2022-07-08 12:30:31 +02:00
pancake
091b7c96c2
Fix last covs and support mount in ms ##fs 2022-07-08 09:51:21 +02:00
pancake
ad1add71cb
Fix a new linting to remove the double error message in RLOG calls ##lint 2022-07-07 20:25:26 +02:00
pancake
34b21efc1e Fix mips identification via RArchConfig instead of RAsm 2022-07-07 19:16:22 +02:00
pancake
a297b27773 Add fs.cwd to define default path in ms ##fs
* Remove unnecessary global variable
2022-07-07 11:10:53 +02:00
pancake
f2edc67c97 Fix onnu command usage and test 2022-07-07 03:39:36 +02:00
pancake
a7399890fe Tiny optimization in RBuffer -0.01s speedup ##io 2022-07-07 03:39:36 +02:00
pancake
1cf4e53c7b
Fix two more projects tests with the new onnu ##projects 2022-07-07 02:12:29 +02:00
Lazula
dddd13a7dd
Partial #19887 - Refactor c[248], add and test c[248]* ##shell
* Improve argument handling
* Don't allow c1*
* Add * mode for c[248]; Uses c* code
2022-07-07 01:58:11 +02:00
condret
0995ae0111 Fix loading xtr bins without arch dedicated asm plugin loaded ##core 2022-07-05 18:57:45 +02:00
pancake
332574aeb5
More eprintf -> RLOG here and there ##refactor 2022-07-05 13:34:13 +02:00
pancake
8c80cfe7d9 Fix #20405 - Multiple fixes and improvements in projects ##projects
* io maps are now saved and restored
* add an extra test and review/update others
* Use omu in om* and run o*;om* in P
* Better handling multiple P subcommands and help msg
* Use more R_LOG instead of eprintf
2022-07-05 10:56:04 +02:00
pancake
21064e9473 Add omu command to create a unique map ##io
* Add another broken project test
* Fix warning regression introduced in previous windows fix
2022-07-04 21:24:40 +02:00
Sergi Àlvarez i Capilla
5df05f446f Fix few type cast issues spotted by msvc 2022-07-04 18:46:54 +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
faaa934514 Fix (null) printing on pi command ##print 2022-07-03 12:36:47 +02:00
pancake
9f12bfd0a8
Get rid of some globals and tls-ify others 2022-07-03 10:01:58 +02:00
pancake
47b7e8ae2b Add and fix two more for loop linter rules 2022-07-02 22:40:28 +02:00
pancake
bb49596759
Use r_str_startswith() in libr/io/p instead of strncmp ##lint 2022-07-01 17:10:05 +02:00
pancake
504002fca2 Few http webserver improvements ##web 2022-07-01 11:08:05 +02:00
pancake
bed72b73b2
Add another source linting to avoid newlines in RCore.cmd() ##refactor 2022-06-30 22:22:30 +02:00
pancake
fca98fbea7
Use more R_LOG in core/cmd_anal 2022-06-30 20:55:47 +02:00
condret
dfcb8186b9 Correct help msg fro ph command ##doc 2022-06-29 01:51:47 +02:00
pancake
3db3750eb0
Lint for x"" ##cleanup 2022-06-28 12:07:58 +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
Richard Patel
363df75c06
Replace some instances of eprintf with R_LOG_ 2022-06-28 02:49:42 +02:00
pancake
8d88e1208d Fix echo q|r2 return code 2022-06-28 02:00:26 +02:00
pancake
e69645a9c2 Add sys/lint.sh and run it in the CI ##refactor 2022-06-27 11:31:24 +02:00
pancake
795a274b48 Set asm.bits when using anal plugs (not only asm ones) and update 8051 test 2022-06-27 10:58:09 +02:00
Alex Bender
0360057781 Update cmd_eval / en[v]? case help message 2022-06-26 03:22:48 +02:00
condret
a1b0293940 Fix fortune file detection ##core 2022-06-22 01:42:44 +02:00
pancake
57b24d228c Fix arrows in visual prompt on windows cmd V: ##visual 2022-06-22 01:07:48 +02:00
pancake
740c5fef9f Fixes for the R2_FORTUENS system and home paths ##shell 2022-06-22 00:56:29 +02:00
pancake
3c4a17a558 Autoset vtmode=1 or 2 depending on shell or visual ##windows
* Fixes history arrow bug in shell after fixing visual shift
2022-06-22 00:56:29 +02:00
pancake
deb75acf78 Fix history file path construction ##shell 2022-06-21 23:48:57 +02:00