google / google/honggfuzz

external mutator breaking on osx

Open
#394 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
3.4k
Forks
539
PR merge metrics
No merged PRs in 30d

Description

working:
honggfuzz -t 3 -n 1 -e pdf -i pdf/ -Q -x -- /Applications/Adobe\ Acrobat\ Reader\ DC.app/Contents/MacOS/AdobeReader \_\_\_FILE___

breaking, adobe reader unable to process the input:
honggfuzz -c ./donothing.sh -t 3 -n 1 -e pdf -i pdf/ -Q -x -- /Applications/Adobe\ Acrobat\ Reader\ DC.app/Contents/MacOS/AdobeReader \_\_\_FILE___

donothing.sh does what it says, nothing, just simulating external modification:
#!/bin/sh
cat $1 > /tmp/bla
cat /tmp/bla > $1
rm /tmp/bla

An equally useless external mutator in c causes similar problems:
int main(){return 0;}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.