about summary refs log tree commit diff
path: root/frida_mode/test/osx-lib
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-08-02 09:07:51 +0200
committervanhauser-thc <vh@thc.org>2021-08-02 09:07:59 +0200
commit382439b58fa81cb529188649a30e5c95b084a404 (patch)
tree265eb762499cf96c21fa21c9c4ac60d660125939 /frida_mode/test/osx-lib
parent18db645a695615519f51e7159d56e128f24843b3 (diff)
downloadafl++-382439b58fa81cb529188649a30e5c95b084a404.tar.gz
frida: switch truncate to dd
Diffstat (limited to 'frida_mode/test/osx-lib')
-rw-r--r--frida_mode/test/osx-lib/GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/frida_mode/test/osx-lib/GNUmakefile b/frida_mode/test/osx-lib/GNUmakefile
index 8ff379e0..de0af27b 100644
--- a/frida_mode/test/osx-lib/GNUmakefile
+++ b/frida_mode/test/osx-lib/GNUmakefile
@@ -52,7 +52,7 @@ $(TESTINSTR_DATA_FILE): | $(TESTINSTR_DATA_DIR)
 	echo -n "$$FA$$" > $@
 
 $(AFLPP_DRIVER_DUMMY_INPUT): | $(BUILD_DIR)
-	truncate -s 1M $@
+	dd if=/dev/zero bs=1M count=1 of=$@
 
 $(HARNESS_BIN): $(HARNESS_SRC) | $(BUILD_DIR)
 	$(CC) $(CFLAGS) $(LDFLAGS) $(HARNESS_LDFLAGS) -o $@ $<