about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-12-13 12:58:57 +0100
committerGitHub <noreply@github.com>2021-12-13 12:58:57 +0100
commite41ac9564b3e00131dd30ee55d853c121e0ae95f (patch)
treede925b106b4dcb71a573d680eca6e1ec538f020b
parent9f6394242bdf20c2083eca2d74d3eb60307fbba2 (diff)
parent6eb752a65cd340a8cf2234d48e32770113ce2416 (diff)
downloadafl++-e41ac9564b3e00131dd30ee55d853c121e0ae95f.tar.gz
Merge pull request #1212 from devnexen/libradmsa_fbsd_upd
radamsa mutator adding freebsd specific fcntl flags.
-rw-r--r--custom_mutators/radamsa/libradamsa.c4
m---------unicorn_mode/unicornafl0
2 files changed, 4 insertions, 0 deletions
diff --git a/custom_mutators/radamsa/libradamsa.c b/custom_mutators/radamsa/libradamsa.c
index 792eea35..e6838752 100644
--- a/custom_mutators/radamsa/libradamsa.c
+++ b/custom_mutators/radamsa/libradamsa.c
@@ -4473,6 +4473,10 @@ static word prim_sys(word op, word a, word b, word c) {
         FD_CLOEXEC,
         F_DUPFD,
         F_DUPFD_CLOEXEC,
+#if defined(F_DUP2FD)
+        F_DUP2FD,
+        F_DUP2FD_CLOEXEC,
+#endif
         F_GETFD,
         F_SETFD,
         F_GETFL,
diff --git a/unicorn_mode/unicornafl b/unicorn_mode/unicornafl
-Subproject d4915053d477dd827b3fe4b494173d3fbf9f456
+Subproject 9df92d6868e8b219886e4b7458e5e134c48ff2c