Skip to content

Commit

Permalink
TestMergeHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkwork committed Jun 21, 2024
1 parent d95230d commit 9444c6c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
2 changes: 1 addition & 1 deletion bin/debug/SDK/Headers/BasicTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// Basic Datatypes //
//////////////////////////////////////////////////

#include <wchar.h> // 或者 #include <cwchar>
//#include <wchar.h> // 或者 #include <cwchar>


typedef unsigned long long QWORD;
Expand Down
16 changes: 1 addition & 15 deletions gengo/bind/sdkMerge/merged_headers.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// Basic Datatypes //
//////////////////////////////////////////////////

#include <wchar.h> // 或者 #include <cwchar>
//#include <wchar.h> // 或者 #include <cwchar>


typedef unsigned long long QWORD;
Expand Down Expand Up @@ -4166,20 +4166,6 @@ typedef struct _DEBUGGEE_SYMBOL_UPDATE_RESULT
*/


//..\..\..\bin\debug\SDK\HyperDbgSdk.h
#pragma once

#include "SDK/Headers/Constants.h"
#include "SDK/Headers/BasicTypes.h"
#include "SDK/Headers/ErrorCodes.h"
#include "SDK/Headers/Connection.h"
#include "SDK/Headers/DataTypes.h"
#include "SDK/Headers/Ioctls.h"
#include "SDK/Headers/Events.h"
#include "SDK/Headers/RequestStructures.h"
#include "SDK/Headers/Symbols.h"


//..\..\..\bin\debug\SDK\Imports\HyperDbgCtrlImports.h
/**
* @file HyperDbgCtrlImports.h
Expand Down
3 changes: 3 additions & 0 deletions gengo/bind/sdkMerge/sdk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ func TestMergeHeader(t *testing.T) {
if strings.Contains(path, "Examples") {
return err
}
if stream.BaseName(path) == "HyperDbgSdk" {
return err
}
if filepath.Ext(path) == ".h" {
println(path)
g.P("//" + path)
Expand Down

0 comments on commit 9444c6c

Please sign in to comment.