Commit Graph

455 Commits

Author SHA1 Message Date
Sergi Àlvarez i Capilla
aef278ee9c Make -Dblob=true statically link all r2 libraries ##build 2022-03-02 11:30:28 +01:00
pancake
50bf4d5918
Simplify meson logic and use ole's PR to fix Windows ##build
* Kudos to @oleavr for reproducing, spotting and fixing the bug!
* Context https://github.com/mesonbuild/meson/pull/9918
2022-01-31 23:54:00 +01:00
pancake
72ffc0271f Fix warnings 2022-01-31 02:26:20 +01:00
Sergi Àlvarez i Capilla
8194bfc6c2 Implement rarun2 time=true attribute ##shell 2022-01-06 21:40:01 +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
b531513e96
Implement fine grained sandbox control ##security 2021-12-20 14:58:51 +01:00
pancake
3aef52cae0 Fix issues in r2pm -i acr and the new compiler checks 2021-12-17 10:26:41 +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
pancake
8ae0aa38c8
Fix wasi builds and update wapm package in the new dist/wapm ##build 2021-11-08 10:45:35 +01:00
pancake
0c85bffe2f
More mingw fixes (#19260) 2021-10-19 12:06:46 +02:00
pancake
93f6b4cd3b
Initial work towards supporting mingw32/64 again ##build 2021-10-18 23:58:16 +02:00
pancake
c2e064de08
Detect canary on statically linked RT and stripped PEs ##bin
* Add tests and support 32 and 64bit canaries
2021-09-29 12:08:50 +02:00
pancake
34d5c13776 Fix last covs 2021-09-17 01:59:44 +02:00
pancake
4d2be3830f
Initial import of the isotp:// plugin ##io 2021-09-16 12:53:23 +02:00
pancake
aa652d8075
Fix warnings on Socket.r2pipe.child for Windows (#19079) 2021-09-13 17:29:42 +02:00
pancake
39e5f95cde r2pipe fixes for windows, fix some vs warnings 2021-09-13 00:45:17 +02:00
Lucinda May Phipps
6def4dd2e2
Use r_file_binsh in r_run_start 2021-08-22 12:02:41 +02:00
pancake
9525cb90b1
Add portability support for Vinix ##build (#18997) 2021-08-19 12:25:50 +02:00
pancake
b91a28d3d3 Fix various issues spotted by the VS warnings 2021-08-18 01:40:30 +02:00
pancake
8abc24c89b System LIBRARY_PATH must be honored (not replaced) on HaikuOS 2021-07-27 19:50:31 +02:00
pancake
d3bb297f89 Simpler patch for the previous commit 2021-07-07 20:23:42 +02:00
pancake
79fb2d887d Serenity doesnt have nice(2) or all the PTY ioctls yet 2021-07-07 20:20:01 +02:00
pancake
0ba3cebdb5 No -lutil for SerenityOS 2021-07-07 19:44:37 +02:00
pancake
4fba588f0f Disable networking and libmagic widechar support for SerenityOS for now 2021-07-07 19:19:10 +02:00
pancake
28dd10e225 More build fixes for SerenityOS 2021-07-07 19:03:54 +02:00
pancake
7c14bac05b
Add initial support for building r2 on WASI ##build 2021-06-20 17:14:43 +02:00
pancake
4caee24727 Honor $SHELL and PATH instead of hardcoded /bin/sh 2021-06-18 01:16:19 +02:00
pancake
f6b35eec47
Use r_sys_getpid() for source portability whetever getpid() is called (#18809) 2021-06-07 17:32:37 +02:00
Sergi Àlvarez i Capilla
247b509edc Improve monotonic clock checks, fixing build on old linuxes 2021-06-05 11:35:31 +02:00
pancake
7de0a602bf
Implement socket:// plugin, inspired by radare1 ##io (#18740) 2021-05-24 14:16:23 +02:00
murphy
d0f60a1dd1 Fix 1446205 Resource leak 2021-04-13 20:09:33 +02:00
pancake
4c8aa2bf2e
Fix last covs I got by mail (#18531) 2021-04-03 03:50:08 +02:00
Murphy
a0213f0347
Fix some coverity vulnerabilities (#18516)
* Fix 1451533 Resource leak
* Fix 1451532 Resource leak
* Fix 1451074 Buffer not null terminated
* Fix 1409066 String not null terminated
2021-03-30 22:05:47 +02:00
pancake
9282d35830 Fix double free in unix connect 2021-03-30 00:08:32 +02:00
intruder-kat
7d8fc23cb6
Correct function pointers and allow fallback on libutil.so for dyn_init (#18505) 2021-03-29 11:11:38 +02:00
pancake
a7c08c15ce Don't scream out WARNINGs, capitalizing it is enough 2021-03-19 11:02:54 +01:00
pancake
38689963ad Fix more issues in RSocket.printf affecting the webserver ##socket 2021-02-06 22:29:39 +01:00
pancake
9fceb7a9d5 Fix r_socket_printf for big buffers ##socket 2021-02-06 01:37:50 +01:00
pancake
51145a117a Fix some of the last coverities related to UAF and OOBREAD 2021-01-25 03:08:33 +01:00
pancake
d3157e2ed3
Fix 32 critical COVs (UAF, UB and OOB) (#18077) 2020-12-21 01:10:22 +01:00
pancake
3a14d204ea
Do not show return code message in r2pipe api if it succeds (#17854)
Co-authored-by: pancake <pancake@nopcode.org>
2020-10-27 14:25:37 +08:00
David CARLIER
b1996da031
Setting ASLR support for DragonFlyBSD ##util (#17810)
Enable calls for rarun2
2020-10-22 16:26:53 +08:00
Liumeo
4a6b69b2d2
Fix ARM64 test_r2pipe_404 (#17796) 2020-10-19 12:47:31 +08:00
GustavoLCR
623c4819d6
Fix some warnings in WinDBG plugin (#17784) 2020-10-14 14:51:11 +08:00
Riccardo Schirone
741d22ed61
Use -Werror when building in CI (#17781) 2020-10-13 12:42:57 +02: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 04edfa82c1

* 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
Keegan S
36e9314832
Fix #17638 - Fix http server by using TCP in RSocket's protocol ##remote (#17641)
Co-authored-by: meme <meme@users.noreply.github.com>
2020-09-15 11:22:04 +02:00
Khairul Azhar Kasmiran
d9057505dc
Set RPATH/RUNPATH on r2 libs too if local (#17639) 2020-09-15 09:16:14 +02:00
pancake
6ead7f0eea
Avoid close(-1) in r2pipe (#17617)
* Do not close(-1)
* Remove commented code

Co-authored-by: pancake <pancake@nopcode.org>
2020-09-10 11:56:58 +08:00
Riccardo Schirone
2318e1afcc Use SSL_get_error only if SSL is being used 2020-09-09 15:39:33 +02:00