Skip to content

Commit

Permalink
Made the includes more consistent with the angle-bracket vs quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffmig committed Jul 31, 2018
1 parent 09ff037 commit bc6f8f9
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 29 deletions.
2 changes: 1 addition & 1 deletion corpus/persist/test.c
Expand Up @@ -3,7 +3,7 @@
#include <unistd.h>

#if defined(PERSIST) || defined(DEFERRED_NOHOOK)
#include "forkserver.h"
#include <forkserver.h>
#endif

int test_func()
Expand Down
2 changes: 1 addition & 1 deletion driver/driver.c
Expand Up @@ -2,7 +2,7 @@
#include <jansson_helper.h>
#include <global_types.h>
#include <utils.h>
#include "instrumentation.h"
#include <instrumentation.h>
#include "driver.h"

#include <time.h>
Expand Down
4 changes: 2 additions & 2 deletions driver/driver.h
Expand Up @@ -6,8 +6,8 @@
#include <sys/types.h> // pid_t
#endif

#include "global_types.h"
#include "instrumentation.h"
#include <global_types.h>
#include <instrumentation.h>

#ifdef DRIVER_EXPORTS
#define DRIVER_API __declspec(dllexport)
Expand Down
2 changes: 1 addition & 1 deletion driver/driver_factory.c
Expand Up @@ -7,7 +7,7 @@
#include "network_driver.h"
#endif

#include "instrumentation.h"
#include <instrumentation.h>

#include <string.h>
#include <stdlib.h>
Expand Down
6 changes: 3 additions & 3 deletions driver/driver_factory.h
@@ -1,12 +1,12 @@
#pragma once
#include "driver.h"
#include "instrumentation.h"
#include "global_types.h"
#include <instrumentation.h>
#include <global_types.h>

DRIVER_API driver_t * driver_factory(char * driver_type, char * options);
DRIVER_API driver_t * driver_instrumentation_factory(char * driver_type, char * options, instrumentation_t * instrumentation,
void * instrumentation_state);
DRIVER_API driver_t * driver_mutator_factory(char * driver_type, char * options, mutator_t * mutator, void * mutator_state);
DRIVER_API driver_t * driver_all_factory(char * driver_type, char * options, instrumentation_t * instrumentation, void * instrumentation_state,
mutator_t * mutator, void * mutator_state);
DRIVER_API char * driver_help(void);
DRIVER_API char * driver_help(void);
2 changes: 1 addition & 1 deletion driver/file_driver.h
@@ -1,6 +1,6 @@
#pragma once
#include "driver.h"
#include "instrumentation.h"
#include <instrumentation.h>

void * file_create(char * options, instrumentation_t * instrumentation, void * instrumentation_state,
mutator_t * mutator, void * mutator_state);
Expand Down
2 changes: 1 addition & 1 deletion driver/network_driver.h
@@ -1,6 +1,6 @@
#pragma once
#include "driver.h"
#include "instrumentation.h"
#include <instrumentation.h>
#include <global_types.h>

void * network_create(char * options, instrumentation_t * instrumentation, void * instrumentation_state,
Expand Down
2 changes: 1 addition & 1 deletion driver/stdin_driver.h
@@ -1,6 +1,6 @@
#pragma once
#include "driver.h"
#include "instrumentation.h"
#include <instrumentation.h>
#include <global_types.h>

void * stdin_create(char * options, instrumentation_t * instrumentation, void * instrumentation_state,
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/instrumentation.c
Expand Up @@ -14,7 +14,7 @@
#endif

#include "instrumentation.h"
#include "utils.h"
#include <utils.h>


#ifndef _WIN32
Expand Down
4 changes: 2 additions & 2 deletions winafl/modules.h
Expand Up @@ -41,8 +41,8 @@ Copied from the DyanmoRIO project, http://dynamorio.org/
#ifndef CLIENTS_COMMON_MODULES_H_
#define CLIENTS_COMMON_MODULES_H_

#include "dr_api.h"
#include "drvector.h"
#include <dr_api.h>
#include <drvector.h>

#define NUM_GLOBAL_MODULE_CACHE 8

Expand Down
2 changes: 1 addition & 1 deletion winafl/utils.h
Expand Up @@ -42,7 +42,7 @@ DynamoRIO utility macros. Copied from the DyanmoRIO project,
#ifndef CLIENTS_COMMON_UTILS_H_
#define CLIENTS_COMMON_UTILS_H_

#include "dr_api.h"
#include <dr_api.h>

#ifdef DEBUG
# define ASSERT(x, msg) DR_ASSERT_MSG(x, msg)
Expand Down
30 changes: 16 additions & 14 deletions winafl/winafl.c
Expand Up @@ -22,22 +22,24 @@
project.
*/

#include "dr_api.h"
#include "drmgr.h"
#include "drx.h"
#include "drreg.h"
#include "drwrap.h"
#include "drsyms.h"
#include <fcntl.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <dr_api.h>
#include <drmgr.h>
#include <drx.h>
#include <drreg.h>
#include <drwrap.h>
#include <drsyms.h>
#include <drtable.h>
#include <hashtable.h>

#include "modules.h"
#include "utils.h"
#include "hashtable.h"
#include "drtable.h"
#include "limits.h"
#include "winafl_config.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <winafl_config.h>


#define NOTIFY(level, fmt, ...) do { \
Expand Down

0 comments on commit bc6f8f9

Please sign in to comment.