Commit Graph

1995 Commits

Author SHA1 Message Date
pancake
6947ea44ae Fix memleak in r2r 2022-07-03 00:44:01 +02:00
pancake
d26c8e04d9 Ignore odr-violations by default when running asanified r2r ##ci
* Honor ASAN_OPTIONS if already defined by the $USER
2022-07-03 00:37:40 +02:00
pancake
dca683e59c Remove the -r and -m flags from r2r ##tests 2022-06-27 12:39:09 +02:00
pancake
44429c198f Sort lines in r2r -h ##tests 2022-06-08 23:29:14 +02:00
pancake
537c084760 Use absolute path for r2r -o ##tests 2022-06-08 23:29:14 +02:00
pancake
d032c69555 Fix r2r -o and other minor issues in there 2022-06-08 23:29:14 +02:00
pancake
49d6d0d022 Minor fix when pulling bins just in case cd fails 2022-06-05 13:33:14 +02:00
Aleksey Kislitsa
dd3bc7b520 Correction of dependencies installation 2022-06-01 16:16:52 +02:00
pancake
ac0e787647 Fix #20200 - Set PYTHON env var if not defined
* Checks for python3, python and python2 in PATH
2022-05-31 14:45:30 +02:00
pancake
ebaa1ca210 Check return codes on some write() calls 2022-05-30 17:16:56 +02:00
pancake
9a6c7a0f1b Dont let r2r -o overwrite files ##tests 2022-05-26 12:43:53 +02:00
pancake
93d9860f41
Add test for 'q' return code bug and minor cleanup r2r ##tests 2022-05-26 12:41:49 +02:00
pancake
597496e17a aav output is now cleaner and less verbose ##anal 2022-05-26 11:45:59 +02:00
pancake
73721d1ca4 Support gmake in the testsuite (BSD runs) ##tests 2022-05-26 11:45:59 +02:00
pancake
5b7c970f2b eprintf requires newline
* git grep eprintf | grep -v '\\n'| grep '('
2022-05-05 13:11:52 +02:00
pancake
5d07b63cb4 Add missing %s in r2blob error on windows 2022-05-02 19:23:34 +02:00
pancake
8ff7008d40 Increase commit log from 3 to 10 in ##r2pm 2022-04-13 01:25:05 +02:00
pancake
7c495b7e56 Ignore asan memory leaks when running the tests ##ci 2022-04-05 12:25:31 +02:00
Lazula
0e4a8b95b2
Add R2_DEBUG_EPRINT to disable debug var printing at compiletime or runtime (#19770) 2022-04-01 13:51:08 -05:00
pancake
87d238c515 Fix r2blob for windows ##windows 2022-03-16 00:48:50 +01:00
Lazula
d507bda91c Remove R_EMPTY and R_EMPTY2 2022-03-13 11:26:10 +01:00
Sergi Àlvarez i Capilla
aef278ee9c Make -Dblob=true statically link all r2 libraries ##build 2022-03-02 11:30:28 +01:00
Lazula
ac0e07d100 Free r2r subprocess lock for asm tests 2022-03-01 15:53:34 +01:00
Lazula
5165f0c7ba Free subprocess thread lock in r2r 2022-02-18 14:23:09 +01:00
pancake
3b161a860f
Increase read buffers in r2r and strbuf (#19646) 2022-02-01 09:27:34 +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
Sergi Àlvarez i Capilla
4474cbab01 Fix last covs 2022-01-28 15:23:44 +01:00
pancake
872db84576 Increase r2r timeout from 15s to 30s 2022-01-21 22:19:00 +01:00
pancake
0bfd86c9c8 Fix race condition in the regressions testsuite tool 2022-01-21 17:04:56 +01:00
Sergi Àlvarez i Capilla
0c355d8ff9 Fix R2PM_DEPS handling in r2pm -ci ##tools 2022-01-07 01:41:54 +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
575c26f329 Fix some format string warnings in the mingw ci job 2021-12-21 00:31:28 +01:00
pancake
681323267d
Refactor, improve and move chip8 support out of libr/asm ##asm 2021-12-17 11:21:52 +01:00
pancake
3ad5693518
Initial implementation of r2pm.c ##r2pm 2021-12-16 12:47:40 +01:00
pancake
150a4e385a Add help for r2pm -uu 2021-12-05 02:44:22 +01:00
Sergi Àlvarez i Capilla
0290c24758 Fix r2pm -s when more than one result is found. 2021-12-03 12:29:39 +01:00
pancake
120f43583a Improve rabin2 help message and manpage 2021-11-22 11:25:56 +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
4c9fac84a0
Generate bin/d the same way as other sdb paths with meson ##build
* Add -Dwasan=true for meson to compile with msvc's address sanitizer
* Clear the prefix dir before installing, so we ensure it's more realistic
2021-11-14 00:57:35 +01:00
pancake
fdde9caaad
Fix builds issues on meson, windows, ios, static and wasi 2021-10-19 20:57:19 +02:00
pancake
3548e2e8a4 Final mingw fixes 2021-10-19 12:52:00 +02:00
pancake
f80ce61ade
Enable R2_DEBUG_ASSERT=1 in r2r ##tests (#19226)
* Fix assert issue in rafind2
2021-10-19 01:15:14 +02:00
Sergi Àlvarez i Capilla
4a6c0c8e84 Fix some asserts spotted by r2r and R2_DEBUG_ASSERT=1 2021-10-14 18:49:33 +02:00
Sergi Àlvarez i Capilla
4a7aa8dbe6 Assume tests without FILE= just open - ##tests 2021-10-14 18:48:17 +02:00
Sergi Àlvarez i Capilla
6969ee42ee Sync swift demangler syntax with Apple one and force trylib=0 in r2r.c 2021-10-05 10:10:32 +02:00
pancake
56a0e2eedb
Show instruction and bytes when failing asm tests ##tests (#19145) 2021-09-28 11:18:47 +02:00
pancake
f0deead6ae Fix mutex regression in r2r 2021-09-19 01:14:41 +02:00
pancake
86472a6b4f
Fail with r2 -p unexistent-project ##projects
Co-authored-by: pancake <pancake@nopcode.org>
2021-09-19 00:16:46 +02:00
pancake
d520902ce8 Add RCons.isWindows() and update mini graph test 2021-09-17 09:24:27 +02:00
pancake
34d5c13776 Fix last covs 2021-09-17 01:59:44 +02:00