pancake
1184610971
Fix the CI badge and fully rewrite all the workflows to make sense ##build
...
* Windows, Linux, Static, macOS, Android, iOS builds published for every commit
* Kept coverage, coverity, fuzzing tests, lgtm and -Werror jobs
* Kill the continuos, the over-engineered matrix and other empty or unnecessary tasks (250 vs 900LOC)
* Jobs TODO: fatmac, termux and rpm (centos) packages
2021-01-12 13:41:21 +01:00
GustavoLCR
f46b1749b3
Fix #17581 - Fix append to file on Windows ( #17584 )
...
* Fix append to file on Windows
* Test from @ret2libc
2020-09-03 19:13:42 -03:00
pancake
8efd721dba
Fix Cydia/iOS packaging and compilation issues ##build ( #17342 )
2020-08-14 13:17:32 +08:00
GustavoLCR
bb3e80c040
Implement pde
to disassemble following code execution ##disasm ( #17410 )
...
* Implement `pde` to disassemble following code execution
* Fix `asm.filter=1` with `scr.color=0`
* Fix cache not being used
* Share read and write file permissions on Windows
* Use CreateFileW in r_sandbox_open on Windows and fix file permissions
* Fix opening nul and O_RDWR
* File creation flags cannot be combined on Windows
* Share write in r_file_mmap_windows
2020-08-13 10:05:38 +08:00
David CARLIER
ff89101dec
Solaris/Illumos sandbox support ##port ( #17407 )
...
Use priv api to remove few privileges to the current process.
2020-08-07 13:01:14 +08:00
pancake
d47aed440a
Fix covs from 2020-06-29 ( #17184 )
...
* Fix covs from 2020-06-29
* CIDs: 1293553 1408695 1430058 1430059 1430060
1430061 1430062 1430063 1430064 1430065 1430067
* More fixes
Co-authored-by: pancake <pancake@nopcode.org>
2020-07-01 09:33:38 +08:00
pancake
c706d0b69f
Improve code quality of file and sandbox ##util ( #17136 )
...
* Improve code quality of file and sandbox ##util
* Use `r_return_*`
* Read procfiles once
Co-authored-by: pancake <pancake@nopcode.org>
2020-06-29 13:23:02 +08:00
pancake
160fc95e66
Use (void) instead of () in function signatures ( #17026 ) ##refactoring
...
* Use (void) instead of () in function signatures
* Add test to avoid further contributions to commit the same mistake
2020-06-14 16:08:32 +02:00
Khairul Azhar Kasmiran
1fef151d37
r_cons: Save and restore the active code page on Windows ( #16998 )
...
* r_cons: Save and restore the active code page on Windows
* Use r_sys_cmdf() instead
2020-06-03 18:54:55 +08:00
GustavoLCR
2bf97bf570
Fix #16531 - Fix binary file opening permisson in sandbox ##windows ( #16722 )
2020-04-27 13:28:39 +08:00
pancake
adfaf1aa25
Fix issue in r_file_dump() when appending on unexistent files
2020-04-14 19:19:32 +02:00
radare
bbe6c0e184
Fix #10851 - Solve slurp messages on http/sandbox/pipe ##remote
2019-09-16 14:25:37 +02:00
radare
67fbd0e0d8
Better use of perm/mode names in R_IO ##io ( #14615 )
...
* Aim to fix O_BINARY issue in rahash2 on windows
2019-07-23 10:03:33 +02:00
David CARLIER
567d664c8a
Expand on FreeBSD>=10 sandbox handling ##core
2019-07-09 10:49:05 +02:00
Anton Kochkov
20e19d6023
More spelling fixes in the code
2019-06-20 13:36:02 +08:00
Riccardo Schirone
66f7403245
Rewrite the RBuffer API to make it safer and adjust the codebase ##refactor ( #13656 )
...
* Reimplement r_buf_fread/fwrite
* Add slice buffer and introduce readonly field
* Do nothing if size is 0
* Prevents an overflow when 8 is subtracted from size.
* Fix ragg2 when patching outside currently existing buffer
* Implement r_mem_mmap_resize for systems where mremap is not defined
* r_buf_buffer can be called with no size arg as well
* Use size_t instead of ut64
2019-05-15 15:34:06 +02:00
Anton Kochkov
b858e7e10e
Fix #13430 - Kill MinGW remnants ##deprecate
2019-03-31 12:03:07 +02:00
Anton Kochkov
bb67b54f74
Remove CYGWIN & MINGW remnants ( #13377 )
2019-03-15 12:55:08 +08:00
radare
fa3385d9d6
Alias /dev/null to NUL in Windows ##windows
2019-03-11 22:29:32 +01:00
a1ext
4e8e7de7b4
Fix unicode path issues in Windows ##windows
2018-10-30 01:04:47 +01:00
Neven Sajko
4a722e80d8
Add braces to if, else, for, while ... ( #11504 )
2018-09-13 10:17:26 +02:00
David CARLIER
fbccf163ac
in HTTP server mode, pledge needs to enable inet family function as well in order to function ( #10988 )
2018-08-08 14:26:22 +08:00
David CARLIER
2fcbb3f562
FreeBSD sandboxing. circumspecting the kernel version ( #10335 )
...
in the needed code instead of utils header which
would provoke issue with ptrace and MAXCOMLEN definition.
2018-06-13 13:16:58 +02:00
Paul I
cc90ec6be5
[WIP] Move hardcoded paths to r_userconf.h ( #9959 )
...
* Move hardcoded paths to r_userconf.h
* Add R2_HOME_* macros
* Some cleanup
2018-04-28 10:02:55 +02:00
pancake
30d7267bcc
Fix sys/ios-cydia.sh build
2017-10-10 02:27:34 +02:00
pancake
1bfb5ffba2
Fix swprintf crash issue for mingw32 builds
2017-09-18 00:06:23 +02:00
Fangrui Song
cf41bb42fd
Send SIGTSTP to the process group of r2 when SUSP key is pressed. ( #7983 )
...
When binr/radare2/radare2 was running under a shell and they were in the
same process group, pressing ^Z (SUSP) once just suspended radare2, not
including the shell. The commit sends the signal to the whole process
group.
2017-07-21 18:03:44 +02:00
pancake
4f45e836e1
Enhance sandboxing messages and checks
2017-07-20 14:49:45 +02:00
SkUaTeR
beb80cfc16
Fixes for MSVC
2017-05-09 23:53:20 +02:00
xarkes
926f024909
Improved MSVC support (WIP)
2017-05-09 14:25:57 +02:00
pancake
b282656bbb
Improve error checking and fallback in the sandboxed http
2017-04-26 15:31:27 +02:00
0x0dada
92cde73473
Fix mode change to files ... ( #7353 )
2017-04-26 12:49:13 +02:00
skuater
c6fe8ac4c9
fix Pl command on win64
2017-04-21 10:12:39 +02:00
Marcel
a4fc91f29b
Remove dirent.h dependency for Windows and add utf16<->utf8 conversion function
2017-04-15 13:07:33 +02:00
pancake
94ec966936
Do not exit if pledge fails, just return with disabled sandbox
2017-03-20 16:05:48 +01:00
Giovanni
43532031c4
Fixes for windows and some are also global ( #6936 )
2017-03-08 08:49:31 +01:00
pancake
cda09fa67f
Honor home WWW path when in sandbox mode
2017-01-16 11:09:12 +01:00
pancake
c1ba036cc0
Hide the noisy sandbox warning
2017-01-15 22:48:31 +01:00
pancake
e3e19385e8
Fix #6415 - Properly disable sandbox after http.sandbox
2017-01-09 13:19:08 +01:00
pancake
e04498ac02
Add rabin2 -X and r_bin_package for FAT and ZIP
2016-08-30 04:26:20 +02:00
Sebastien Marie
e0ee8cdefa
update native sandboxing method for OpenBSD ( #5545 )
...
move from systrace(4) (removed in 6.0 release) to pledge(2) (available
since 5.9).
2016-08-18 15:59:36 +02:00
pancake
9500455c87
Remove noisy error message
2016-07-26 00:33:28 +02:00
Maijin
c274afe748
Fix #3286 - Use stdbool.h
2016-07-12 22:15:19 +02:00
pancake
32162ef393
Add r_buf_new_file API
2016-04-04 22:30:11 +02:00
pancake
d092be54e2
API fixes for bochs and honor sandbox
2016-03-27 13:43:51 +02:00
pancake
de22aa46f2
Fix COV with boolified r_io_creat
2016-01-19 13:16:24 +01:00
pancake
151fab32a3
s/LIBC_HAVE_SPAWN/..FORK/g
2015-12-29 05:43:00 +01:00
pancake
b728b48123
Native tvOS/WatchOS support, non-fat libr.a and mach0 identification for them
2015-12-28 20:40:18 +01:00
François Revol
797a2efc81
C89
...
(duplicate ; is treated as an empty statement)
2015-12-07 21:48:44 +01:00
pancake
8ff8b5df7b
Fix cmd_pf tests
2015-11-17 02:04:38 +01:00