1840 Commits

Author SHA1 Message Date
Florian Märkl
d586793bf5 Fix r2r -i fix for single-line EXPECT= 2020-05-02 17:44:18 +02:00
Riccardo Schirone
a29f0ccce5
Add CI job for CentOS 6 build (#16712)
* Fix re-definition of RAnalBlockCb and RAnalAddrCb

* Small compilation fixes for gcc-4

* Check PTRACE_GETREGSET before using it

* Add GH workflow to run on centos:6 for prerelease branches

* Fix configure.acr
2020-04-29 19:02:02 +08:00
pancake
62809d9ad3
Fix autodetection dbdir in r2r @unit ##tests (#16644) 2020-04-27 16:52:23 +02:00
Khairul Azhar Kasmiran
f8a8691522
r2r: Enable ANSI esc seqs on Windows (#16714) 2020-04-26 04:43:40 +08:00
Ian Huang
b90d469383
Fix #16613 - Some covs (resource leaks, null ptr deref) (#16670)
* Mostly a bunch of calls to free()
* Make sure columnName isn't dereferenced if null
2020-04-22 01:27:25 +02:00
pancake
346eb5bd38
Move test/new/* into test/ ##tests (#16511) 2020-04-13 19:49:23 +02:00
Liumeo
694c3d5fa2
Fix some GCC 9.3.0 warnings (#16554) 2020-04-12 22:44:08 +02:00
Florian Märkl
cda24be601
Add interactive mode to r2r (#16466) ##test 2020-04-08 18:34:05 +02:00
pancake
72d1021462
Fix #14371 - Make wfs paired with wts, rename wfs to wfx ##io (#16470) 2020-04-08 14:13:12 +02:00
pancake
57c68c752c
Fix #16389 - r2r -qv and r2 -v to show version and quiet versions (#16472) ##tools 2020-04-08 13:56:52 +02:00
Florian Märkl
6d633a96a9
Run Fuzz Tests with r2r (#16456) 2020-04-07 13:27:19 +02:00
Florian Märkl
5c31876093
R2R for Windows (#16410) ##test 2020-04-06 17:40:46 +02:00
Florian Märkl
0ab6296238
Add Timeout to R2R.c (#16371) ##test 2020-04-02 19:16:49 +02:00
radare
5a1df188f6
Build fixes to make emscripten builds happy (#16406) ##build 2020-04-02 17:52:03 +02:00
pancake
a87fdf66ee Fix duplicated function signatures in RCore spotted by Emscripten 2020-04-02 15:53:31 +02:00
Florian Märkl
73983b3759
Fix a leak in r2r (#16402) 2020-04-02 12:35:02 +02:00
Anton Kochkov
80690c3b57 Remove wrongly committed r2r binary 2020-04-01 11:43:14 +08:00
radare
6379317f57
Add LZMA-BE magic signatures ##search 2020-03-31 21:17:02 +02:00
pancake
12a925c685 Fix warnings and solve the Gitlab CI 2020-03-31 17:06:40 +02:00
pancake
304bc367de Initial support for test categories and fix the windows build ##test 2020-03-31 15:58:49 +02:00
pancake
2c40d164b5 r2r new flags: -n to not run -v for version, add manpage ##tests 2020-03-31 15:58:49 +02:00
pancake
66d3ece161 Fix windows build 2020-03-31 15:58:49 +02:00
Paul I
044947c885
r2r: handle CRLF in readline() (#16378) 2020-03-31 15:39:44 +02:00
kuqadk3
ad88c78944
Implement hex.offset config variable to hide address column from hex-dump (#16373) ##print 2020-03-31 14:44:23 +02:00
Florian Märkl
e3dd6674d6
Fix Log Mode in R2R (#16379) 2020-03-31 13:47:41 +02:00
Florian Märkl
e4581a68d3
Drop empty args in r2r (#16376) 2020-03-31 13:47:32 +02:00
Florian Märkl
31f0e46f96
Add Log Mode to R2R (#16368) 2020-03-31 02:29:27 +02:00
Florian Märkl
9c8c8889f8
Check harder if jq works in R2R (#16370) 2020-03-31 02:25:02 +02:00
radare
202269c620
Autodetect dbdir in r2r.c (#16365) ##test 2020-03-30 23:32:38 +02:00
pancake
cfc1c663c3 Fix parameters order when running r2 tests 2020-03-30 15:00:26 +02:00
pancake
e4781c7820 Show execution time in r2r 2020-03-30 15:00:26 +02:00
Florian Märkl
2a9d7e9d44
Much more R2R (#16352)
* Add r2r to R2BINS
* Fix iSj. trailing newline
* Dedup default worker count in r2r
* Fix some more Tests
* Decide archos in r2r
* Add more args and run json tests with r2r
2020-03-29 21:04:51 +02:00
Florian Märkl
2c7ecc9736
Even more R2R (#16348)
* Fix r2r without FILE
* Fix many tests for r2r-c
* Pipe stdin in r2r to make isatty() return false
* Fix a leak in r2r
* Fix lock usage in RThread
* Always print stderr on failed tests
* Break broken zip tests
* Add -j arg to r2r
* Temporarily disable some tests that js and v don't parse
* Fix ar= trailing newline
2020-03-29 18:07:44 +02:00
Florian Märkl
141ae9d0a1
More R2R in C (#16338)
* Fix r2r coverities (Fix #16330)
* Fix SIGCHLD Handling in r2r
* Fix ARGS in r2r
* Make r2r fail on parse errors
* Support multiple files in r2r and print cmd
* Make r2r print exit status
2020-03-29 11:32:21 +02:00
radare
5e4cdaaa04
Always use r_getopt, do not depend on libc (not just on windows) ##core (#16325) 2020-03-27 17:06:40 +01:00
radare
9f35d62018
Improve noreturn and aesu times, show it in afi & afij ##anal (#16324)
* Fix fcn->is_noreturn cache and add tests
2020-03-27 06:15:47 +01:00
Florian Märkl
04e257bd47
R2R in C Enhancements (#16310) ##test
* Skip extras dirs in r2r by default
* Fix BROKEN loading in r2r
* Print actual diff in r2r-c
* Fix some tests for r2r-c
* Do not require stdout if not specified in r2r-c
* Address most review comments
2020-03-27 06:13:41 +01:00
radare
8758fa6b40
Remove the --without-r2r configure flag (#16300) 2020-03-25 21:41:26 +01:00
Florian Märkl
79fcf4fbff
Initial Implementation of R2R in C (#16216) ##test 2020-03-24 20:18:16 +01:00
pancake
1953d46950 'sign' as an alias for ios-sign and macos-sign ##build 2020-02-26 02:07:13 +01:00
pancake
d2b29db4c9 Remove globals from rax2 ##refactor 2020-02-17 16:52:28 +01:00
Anton Kochkov
e11b2a9145
Some Coverity defect fixes (#15626) 2019-12-13 11:25:19 -06:00
dok
34e4bd7291 Use sigaction instead of signal ##core 2019-11-06 12:41:36 +01:00
Florian Märkl
aad2a2c79e Link sdb fully into r_util in meson (#15338) ##build 2019-10-23 15:52:19 +02:00
pancake
f2d76b16cd Switch to travis-ci.com 2019-10-10 20:04:02 +02:00
pancake
c059b6e177 radare -> radareorg 2019-09-28 00:30:09 +02:00
Khairul Azhar Kasmiran
a8a42f149f Fix for r2pm when libdir is lib64/ (#15101) 2019-09-23 00:13:59 +02:00
Khairul Azhar Kasmiran
18ef593b2e Set rpath if non-Windows Meson shared ##build (#15051) 2019-09-22 10:49:54 +02:00
Khairul Azhar Kasmiran
0587b7f6d7 R2PM_TGZ: If 2nd param starts with /, assume it's root dir of archive (#15033) 2019-09-13 21:44:16 +02:00
Khairul Azhar Kasmiran
25fd8c6baf Ensure R2PM_BINDIR exists (#15032) 2019-09-13 18:29:33 +02:00