1
0
Fork 0

DBG: Start normalizing header guards

This commit is contained in:
Nukem 2016-01-24 18:41:59 -05:00
parent dd7e3cfa85
commit d30d34835f
7 changed files with 28 additions and 15 deletions

View File

@ -1,4 +1,5 @@
#pragma once
#ifndef _GLOBAL_H
#define _GLOBAL_H
#include "_global.h"
@ -18,4 +19,6 @@ void BookmarkCacheLoad(JSON Root);
bool BookmarkEnum(BOOKMARKSINFO* List, size_t* Size);
void BookmarkClear();
void BookmarkGetList(std::vector<BOOKMARKSINFO> & list);
bool BookmarkGetInfo(duint Address, BOOKMARKSINFO* info);
bool BookmarkGetInfo(duint Address, BOOKMARKSINFO* info);
#endif // _GLOBAL_H

View File

@ -1,7 +1,10 @@
#pragma once
#ifndef _CONSOLE_H
#define _CONSOLE_H
#include "_global.h"
void dputs(const char* Text);
void dprintf(const char* Format, ...);
void dprintf_args(const char* Format, va_list Args);
void dprintf_args(const char* Format, va_list Args);
#endif // _CONSOLE_H

View File

@ -28,7 +28,7 @@ bool ExHandlerGetInfo(EX_HANDLER_TYPE Type, EX_HANDLER_INFO* Info)
break;
case EX_HANDLER_VCH:
ret = ExHandlerGetVCH(handlerEntries);
ret = ExHandlerGetVCH(handlerEntries, false);
break;
case EX_HANDLER_UNHANDLED:

View File

@ -1,5 +1,5 @@
#ifndef _INSTRUCTIONS_H
#define _INSTRUCTIONS_H
#ifndef _INSTRUCTION_H
#define _INSTRUCTION_H
#include "command.h"
@ -79,4 +79,4 @@ CMDRESULT cbInstrVirtualmod(int argc, char* argv[]);
CMDRESULT cbInstrSetMaxFindResult(int argc, char* argv[]);
CMDRESULT cbInstrSavedata(int argc, char* argv[]);
#endif // _INSTRUCTIONS_H
#endif // _INSTRUCTION_H

View File

@ -1,4 +1,5 @@
#pragma once
#ifndef _JIT_H
#define _JIT_H
#include "_global.h"
@ -21,4 +22,6 @@ bool dbggetjit(char* jit_entry, arch arch_in, arch* arch_out, readwritejitkey_er
bool dbgsetjit(char* jit_cmd, arch arch_in, arch* arch_out, readwritejitkey_error_t* rw_error_out);
bool dbggetjitauto(bool* auto_on, arch arch_in, arch* arch_out, readwritejitkey_error_t* rw_error_out);
bool dbgsetjitauto(bool auto_on, arch arch_in, arch* arch_out, readwritejitkey_error_t* rw_error_out);
bool dbggetdefjit(char* jit_entry);
bool dbggetdefjit(char* jit_entry);
#endif // _JIT_H

View File

@ -1,4 +1,5 @@
#pragma once
#ifndef _THREADING_H
#define _THREADING_H
#include "_global.h"
@ -148,4 +149,6 @@ protected:
private:
using Internal = SectionLockerGlobal;
};
};
#endif // _THREADING_H

View File

@ -1,7 +1,8 @@
#include <windows.h>
#ifndef _UNDOCUMENTED_H
#define _UNDOCUMENTED_H
#include <windows.h>
//Thanks to: https://github.com/zer0fl4g/Nanomite
typedef LONG NTSTATUS;
@ -229,4 +230,4 @@ typedef struct _LdrpVectorHandlerList
PVECTORED_EXCEPTION_HANDLER VectoredHandler;
} VECTORED_HANDLER_LIST, *PVECTORED_HANDLER_LIST;
#endif /* _UNDOCUMENTED_H */
#endif // _UNDOCUMENTED_H