summary refs log tree commit diff
path: root/libafldyninst.cc
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2024-11-05 15:52:50 +0900
committerNguyễn Gia Phong <cnx@loang.net>2024-11-05 16:27:40 +0900
commit12df718bb7039f8e58e1157d6678f4bdbb106e1a (patch)
treed550c694ce35df21328e304cb5d8068c71f0ec2f /libafldyninst.cc
parente250d83f299b99904602d4b6843ca70a5d0992a1 (diff)
downloadafl-dyninst-12df718bb7039f8e58e1157d6678f4bdbb106e1a.tar.gz
Get rid of using namespace
Diffstat (limited to 'libafldyninst.cc')
-rw-r--r--libafldyninst.cc17
1 files changed, 8 insertions, 9 deletions
diff --git a/libafldyninst.cc b/libafldyninst.cc
index 2919c5c..693724e 100644
--- a/libafldyninst.cc
+++ b/libafldyninst.cc
@@ -7,23 +7,22 @@
 // SPDX-FileCopyrightText: 2024 Nguyễn Gia Phong <cnx@loang.net>
 // SPDX-License-Identifier: AGPL-3.0-or-later
 
-#include "afl/config.h"
-#include "afl/types.h"
+#include <afl/config.h>
+#include <afl/types.h>
 
-#include <algorithm>
-#include <cstdio>
-#include <cstdlib>
-#include <cstring>
 #include <fcntl.h>
-#include <iostream>
 #include <sys/shm.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <unistd.h>
-#include <vector>
 
-using namespace std;
+#include <algorithm>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
+#include <iostream>
+#include <vector>
 
 static u8 dummy[65536];
 static u8 *__afl_area_ptr = dummy; // this saves a test + jz instruction