1858 Commits

Author SHA1 Message Date
Zi Fan
a952636164
Fix non-working json tests in r2r ##test (#17083) 2020-06-21 21:23:37 +02:00
Khairul Azhar Kasmiran
12d12a5ed4
r2r: For diffchar, use --word-diff=porcelain instead (#17087) 2020-06-18 18:12:34 +08:00
Khairul Azhar Kasmiran
ca49982a63
r2r: Support char diffing (#17066) 2020-06-15 18:55:03 +02:00
pancake
bd9a604a87
Check for return values in about ~50 method calls (#17025) 2020-06-15 11:24:43 +02: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
pancake
84ecf9fff2
Fix all the coverities detected last month (#17060)
* Fix all the coverities detected last month

* Fix one more cov

* Fix build

* refix build

Co-authored-by: pancake <pancake@nopcode.org>
2020-06-14 13:21:57 +02:00
Khairul Azhar Kasmiran
ddeb513374
r2r: Don't trim diff lines (#17059) 2020-06-14 13:06:58 +08:00
Khairul Azhar Kasmiran
fcedd4d21e
r2r: Remove diff header and colorize @@ line (#17041) 2020-06-11 13:03:48 +08:00
Khairul Azhar Kasmiran
54950e39fa
r2r: Use git diff on Windows (#17024) ##windows 2020-06-09 23:10:56 +08: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
pancake
b49609af7f
Fix static build (#16926) 2020-05-20 00:35:06 +08:00
Francesco Tamagni
c946d9c0f5 Fix memleak in r2r 2020-05-17 21:05:37 +02:00
Khairul Azhar Kasmiran
3662290b45
meson: Build rasign2 (#16831) 2020-05-17 00:36:43 +08:00
Dennis Goodlett
ae04a73774
Move rasign2 into RMain (#16819) ##tools
* Quote to prevent cmd injection
* Added -q,-j,-h and -v options
* Remove unneeded includes

Co-authored-by: Dennis Goodlett <dennis@hurricanelabs.com>
2020-05-16 12:36:41 +02:00
Khairul Azhar Kasmiran
7efe61e423
r2r.c: Replace \x## emoji seqs with #defines (#16818)
* r2r.c: Replace \x## emoji seqs with actual emoji
* #define emojis instead
2020-05-16 12:05:53 +08:00
Florian Märkl
45be547b15
Fix r2r -i when fixing multiple tests (#16817) 2020-05-14 15:10:03 +02:00
Khairul Azhar Kasmiran
9f2a98b314
Windows r2r: Actually display emojis (on consoles that support them) (#16807) 2020-05-12 13:21:57 +08:00
Khairul Azhar Kasmiran
a391b398d6 Reduce flicker when doing r2r -V (for some consoles) 2020-05-10 14:49:24 +02:00
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