[Toybox] [PATCH] Pass the parent make variables when invoking make in scripts/single.sh.

Andy Chu andychup at gmail.com
Sat Mar 12 00:51:06 PST 2016


single.sh is called when you do 'make test_$COMMAND'.  For example, you
can now run tests under a Clang ASAN build like this:

make CC=clang CFLAGS=-fsanitize=address test_sed

Without this patch, the binary will fail with runtime errors.

(ASAN and afl-fuzz sort of go together, since you can find inputs that
access uninitialized memory but don't necessarily crash the process.
And ASAN is useful without afl-fuzz by just running tests with it.)

Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Pass-the-parent-make-variables-when-invoking-make-in.patch
Type: text/x-patch
Size: 1360 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160312/b055db4a/attachment-0004.bin>


More information about the Toybox mailing list