diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-09-25 10:38:06 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-09-25 10:38:06 +0200 |
| commit | f34d39946213f68c4d49c47eaaedb99b0f5f47ad (patch) | |
| tree | c98ab1d8e90275c203b5e4b8e6ce1b53ff3d0eff /dev/base/FireWall | |
| parent | daa4f8c748d290feba8a71e889743a8a3097ad7d (diff) | |
IMP: Add driver creation tool, zxdmake. Also adding a FireWall system.
- A FW is used to block connections from unknown ends.
- The ZXD is a format used to describe a ZKA PE32+ driver.
- Some refactors have been done as well.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'dev/base/FireWall')
| -rw-r--r-- | dev/base/FireWall/build.json | 19 | ||||
| -rw-r--r-- | dev/base/FireWall/fwapi.hxx | 7 | ||||
| -rw-r--r-- | dev/base/FireWall/src/fwentry.cc | 5 |
3 files changed, 31 insertions, 0 deletions
diff --git a/dev/base/FireWall/build.json b/dev/base/FireWall/build.json new file mode 100644 index 00000000..7f8c4956 --- /dev/null +++ b/dev/base/FireWall/build.json @@ -0,0 +1,19 @@ +{ + "compiler_path": "x86_64-w64-mingw32-g++.exe", + "compiler_std": "c++20", + "headers_path": [ "../", "./", "../../" ], + "sources_path": [ "src/*.cc" ], + "output_name": "firewall.zsc", + "compiler_flags": [ + "-ffreestanding", + "-fno-rtti", + "-fno-exceptions", + "-Wl,--subsystem=17" + ], + "cpp_macros": [ + "__FIREWALL_AMD64__", + "cFWVersion=0x0100", + "cFWVersionHighest=0x0100", + "cFWVersionLowest=0x0100" + ] +} diff --git a/dev/base/FireWall/fwapi.hxx b/dev/base/FireWall/fwapi.hxx new file mode 100644 index 00000000..7e22333d --- /dev/null +++ b/dev/base/FireWall/fwapi.hxx @@ -0,0 +1,7 @@ +/* + * Copyright (c) 2024 ZKA Technologies + */ + +#pragma once + +#include <sci/sci_base.hxx>
\ No newline at end of file diff --git a/dev/base/FireWall/src/fwentry.cc b/dev/base/FireWall/src/fwentry.cc new file mode 100644 index 00000000..e7b929d3 --- /dev/null +++ b/dev/base/FireWall/src/fwentry.cc @@ -0,0 +1,5 @@ +/* + * Copyright (c) 2024 ZKA Technologies + */ + +#include <fwapi.hxx>
\ No newline at end of file |
