Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
afl
comes bundled with this useful littlemalloc
-wrapper which we don't currently build. Would be good to expose this to users. A few odd things about this package though where I don't know if I made the right decision:afl
, it doesn't really have a version number of its own. So I made it inheritafl
's version.libdislocator
package in the top-level namespace because it's usable (and useful) outside the context ofafl
, but the nix file lives inafl
's directory and directly pulls inafl.src
instead of just being totally independent. Weird?.so
library where the intended use is through e.g.$ LD_PRELOAD=/path/to/libdislocator.so ...
I didn't know how to expose this to the user's environment. The most convenient thing seemed to be to add this tiny scriptget-libdislocator-so
to live in the user's path and allow them to do$ LD_PRELOAD=$(get-libdislocator-so) ...
in the same vein aspkg-config
and similar tools.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)