pancake
cfd66d0d28
Fix last covs
2022-04-25 23:00:37 +02:00
pancake
708e59b8a1
Add r_core_return_code() and use it ##shell
...
* Still WIP, but good to go if passing tests
* It's a macro that is only used internally for code clarity
* Ship RCmd.returnValue into RCore.num.value in some situations
2022-04-08 23:15:39 +02:00
pancake
4bed905d8a
Fix msvc warnings ( #19827 )
2022-03-15 19:27:34 +01:00
Lazula
d507bda91c
Remove R_EMPTY and R_EMPTY2
2022-03-13 11:26:10 +01:00
pancake
f2995c2949
Introduce r_strf and stop using sdb_fmt ##util
2022-01-18 18:35:31 +01:00
Lazula
ad749a0b1a
Fix static/R_API function definition formatting
...
* Remove spaces before parens
* Remove spaces after asterisks
2021-12-21 20:58:12 +01:00
pancake
2928a0e635
Fix instruction parsing issue in v850np
2021-12-21 18:23:14 +01:00
pancake
f3563759ef
Move more context fields out of the globals ##cons
...
* Fix |H |T and | suffixes when webserver in background
* Ignore noflush in the RCons.flush() call
2021-09-30 01:04:03 +02:00
pancake
7c14bac05b
Add initial support for building r2 on WASI ##build
2021-06-20 17:14:43 +02:00
pancake
d90510f951
Fix more recently introduced memleaks
2021-05-21 11:17:32 +02:00
pancake
eaf303d49e
Add ===errmsg to support the new r2pipe side ##r2pipe ( #18705 )
...
* == honors scr.interactive
* Improved help in ==? and =+?
2021-05-18 09:08:27 +02:00
murphy
702e1c1ada
Fix CI
2021-04-13 20:09:33 +02:00
murphy
2d1733c3dc
Fix 1445553 Uninitialized scalar variable
2021-04-13 20:09:33 +02:00
murphy
9e1f30f127
Fix 1134819 Resource leak
2021-04-01 21:52:06 +02:00
pancake
51d6006f82
Fix warnings spotted by gcc 10.2.1 ( #18434 )
2021-03-10 20:45:32 +01:00
Liumeo
a74ca8f07b
Remove core.file ##refactor ( #18178 )
2021-01-06 23:44:18 +01:00
pancake
4b6fd801e4
Import last random rizin fixes and more ( #18128 )
2020-12-28 23:34:16 +01:00
pancake
62c2128b6f
Better use of the R_SOCKET_PROTO_DEFAULT and add _NONE ( #17644 )
...
* Better use of the R_SOCKET_PROTO_DEFAULT and add _NONE ##http
* Fix regressions in: r2 -C and =+ ##r2pipe
Introduced in 04edfa82c1f3fa2bc3621ccdad2f93bdbf00e4f9
* Implement sleep command ##shell
* Add tests for the webserver and remoting
* Implement daemon directive in rarun2, fix http test ##rarun2
* Fix socket timeout on Windows (patch by @GustavoLCR) ##socket
* Missing http.root is not a reason to not start the webserver ##http
* Fix r2 -C, =!=0, replace curl with r2 in the webserver test ##http
* Honor anal.in/from/to in aae, optimize db/formats/mach0/thumb ##anal
* Bug fixes and performance improvements
Co-authored-by: pancake <pancake@nopcode.org>
2020-09-25 19:51:23 +08:00
pancake
54617455de
Initial refactoring of the rap:// protocol (-75 LOC) ##socket ( #16534 )
...
* It's implemented in IO, Socket and Core
* Remove duplicated apis and defines, everything in in RSocket now
* RIO now owns an RCoreBind instead of 3 fcn pointers + 1 void*
* Use proper filenames in libr/socket following public api names
* Use RSocket.block apis in the rap client + server apis
2020-04-12 16:40:55 +02:00
Zi Fan
fec0aea039
Decouple shlr/gdb registers profile from code ( #16312 ) ##debug
...
* Sync r2 debugger registers profile with shlr/gdb
* Add new set_reg_profile function to r_debug plugin
* Add set_reg_profile to r_debug_plugin_gdb
* Change "drp" to sync r_debug plugin register profile
* Fix incorrect pointer arithmetic and code style
2020-03-27 02:00:27 +01:00
Aung Khant Ko
9374e9a1cb
Fix #16214 - segfault in =+ command
2020-03-25 10:21:25 +01:00
radare
5e629a3260
Avoidify the strTrim() APIs + cleanup/refactor ##util ( #16056 )
2020-03-02 21:39:37 +01:00
Paul I
0e62dda341
Fix fgets() usage ( #16068 )
2020-02-29 20:47:10 +01:00
Anton Kochkov
9ae41ae69f
Revert "Avoidify the RUtil.strTrim() APIs, rename trimHeadTail() and add asserts in RConfig ##refactor" ( #16055 )
...
This reverts commit 38b61c7bcfe55a727b9c3cedbc0f3147018e7c6b.
2020-02-26 09:59:04 +08:00
radare
38b61c7bcf
Avoidify the RUtil.strTrim() APIs, rename trimHeadTail() and add asserts in RConfig ##refactor
2020-02-25 17:53:09 +01:00
Anton Kochkov
d5d5cd3bfa
Some coverity fixes ( #15643 )
2019-12-16 04:36:46 -06:00
dok
34e4bd7291
Use sigaction instead of signal ##core
2019-11-06 12:41:36 +01:00
David CARLIER
6ac2e30735
CPU affinity API introduction ##core
2019-11-05 10:21:13 +01:00
Anton Kochkov
20e19d6023
More spelling fixes in the code
2019-06-20 13:36:02 +08:00
radare
a49bb7cf66
Change the signature of r_str_trim to avoid confusions ##refactor
2019-06-16 20:58:40 +02:00
pancake
073fcca0f3
Make -C http work like the tcp and rap remotes, expose the shell via == ##remote
2019-05-17 12:09:23 +02:00
pancake
10109fec62
Fix issues with the tcp server .: and =+tcp, use index instead of fd ##remote
2019-05-17 01:04:31 +02:00
radare
51cc15072a
Fix some UAF in rap server, handle HTTP over rap and tcp properly ##remote ( #14081 )
2019-05-16 14:18:16 +02:00
pancake
52122c9c67
Add vvs command to edit function signature from visual ##types
2019-05-06 20:36:41 +02:00
pancake
affeb0de5f
Initial rework towards bringing back remoting commands ##sync
2019-05-06 11:31:32 +02:00
David CARLIER
d9a15aa661
Further usage of thread debug ( #13359 )
2019-03-13 10:47:57 +01:00
GustavoLCR
81ad0fe809
Fix #13234 - Allow reopening of webserver ##sync
...
* Fix hang after ctrl-c
2019-03-06 04:43:32 +01:00
Riccardo Schirone
23161bbf7f
Remove most warnings during compilation
2019-02-14 10:40:25 +01:00
pancake
3868c055f4
Fix hang in =h&
2019-01-14 01:36:30 +01:00
pancake
213e4c9ca8
Initial implementation of the visual ROP browser ##visual
2019-01-14 01:09:30 +01:00
pancake
2c8d417d65
Implement the cmd_colon and experimental http.colon ##http
2019-01-13 03:42:56 +01:00
David CARLIER
de40266908
Add basic auth to the webserver ##sync
2019-01-10 10:51:51 +01:00
radare
32e494a696
Improve rap:// code, r2p_ is now r2pipe_ ##io ( #12699 )
2019-01-09 02:47:35 +01:00
pancake
f0f42c92e2
'=h&' is not an alias for '& =h' ##http
2019-01-07 13:38:42 +01:00
Florian Märkl
b0468f6b73
Make =h work in tasks ##threads
2019-01-07 13:24:30 +01:00
dav1901
303a57bb85
Minor code cleanups/fixes ( #12519 )
2018-12-20 11:50:29 +01:00
dav1901
558a79cae7
Fix few minor leaks and remove dead code ( #12201 )
2018-11-17 18:19:04 +01:00
lzutao
b790439e28
Cast arguments to ut8 when feeding ctype.h functions ##refactor
...
The behavior of the `<ctype.h>` functions is undefined for negative
arguments (other than `EOF`). In such a situation, the argument should
be cast to `unsiged char` for safety.
References:
- C Programming: A Modern Approach, 2nd Edition: page 612, chapter 23.5
2018-11-06 13:40:00 +01:00
pancake
41ec949204
Fix #11112 - Rename {srwx,flags,perms} to perm. (-21 LOC)
...
Unify R_IO, R_BIN, R_BP, .. into R_PERM_* using 1 letter syntax
2018-09-22 11:31:45 +02:00
Florian Märkl
c05c85aa9f
Reimplement TCP Server with libuv and add configure/meson flags ( #11403 )
2018-09-17 12:07:00 +02:00