about summary refs log tree commit diff
path: root/custom_mutators/radamsa/radamsa.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-29 18:36:06 +0200
committerGitHub <noreply@github.com>2020-06-29 18:36:06 +0200
commitfc5cfc6cb309b072a45b991be117c17396e46a89 (patch)
tree4c762f1e2cfb4a8741c08b5b60d07c2ae8eee860 /custom_mutators/radamsa/radamsa.h
parent76a2d9b59b23873c8a6d174a2f3c48eba60712fb (diff)
parent6d9b29daca46c8912aa9ddf6c053bc8554e9e9f7 (diff)
downloadafl++-fc5cfc6cb309b072a45b991be117c17396e46a89.tar.gz
Merge pull request #428 from AFLplusplus/dev
Dev
Diffstat (limited to 'custom_mutators/radamsa/radamsa.h')
-rw-r--r--custom_mutators/radamsa/radamsa.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/custom_mutators/radamsa/radamsa.h b/custom_mutators/radamsa/radamsa.h
new file mode 100644
index 00000000..f698930c
--- /dev/null
+++ b/custom_mutators/radamsa/radamsa.h
@@ -0,0 +1,10 @@
+#include <inttypes.h>
+#include <stddef.h>
+
+void radamsa_init(void);
+
+size_t radamsa(uint8_t *ptr, size_t len, uint8_t *target, size_t max,
+               unsigned int seed);
+
+size_t radamsa_inplace(uint8_t *ptr, size_t len, size_t max, unsigned int seed);
+