Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
r3yl4h authored Sep 5, 2024
1 parent 391430b commit 0963326
Show file tree
Hide file tree
Showing 96 changed files with 21,634 additions and 0 deletions.
22 changes: 22 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
cmake_minimum_required(VERSION 3.8)
project(Pe_x86_parser)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)


include_directories("C:/Program Files/Microsoft Visual Studio/2022/Professional/DIA SDK/include")

add_executable(Pe_x86_parser
"src/main.cpp"
"src/parser.cpp"
"src/exp.hpp"
"src/x32/header_pe.cpp"
"src/x64/header_pe.cpp"
"src/section_pe.cpp"
"src/symbols.cpp"
"src/import_table.cpp"
"src/export_table.cpp"
)

target_link_libraries(Pe_x86_parser PRIVATE dbghelp)

32 changes: 32 additions & 0 deletions CMakeSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"configurations": [
{
"name": "x64-Debug",
"generator": "MinGW Makefiles",
"configurationType": "Debug",
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x64" ],
"variables": [
{
"name": "CMAKE_MAKE_PROGRAM",
"value": "C:/msys64/mingw64/bin/mingw32-make.exe",
"type": "STRING"
},
{
"name": "CMAKE_C_COMPILER",
"value": "C:/msys64/mingw64/bin/gcc.exe",
"type": "STRING"
},
{
"name": "CMAKE_CXX_COMPILER",
"value": "C:/msys64/mingw64/bin/g++.exe",
"type": "STRING"
}
]
}
]
}
Loading

0 comments on commit 0963326

Please sign in to comment.