aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-05-19 23:50:40 +0200
committerToni Uhlig <matzeton@googlemail.com>2023-07-04 23:50:40 +0200
commit8eafe8f1b65193784c84eb9b35db2684b1e1dd2f (patch)
treea8f78cd12e0e55a25cec50e7a2f18dcab390db8e
parent43143ba8716382dc8a9edd427f024c0e0a3cb231 (diff)
README/CI Update
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r--.circleci/config.yml2
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--README.md8
4 files changed, 10 insertions, 4 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index b157754..db6794b 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -13,7 +13,7 @@ jobs:
apt-get install -y -qq \
coreutils wget tar gzip bzip2 patch cmake make binutils gcc g++ autoconf automake flex bison texinfo \
git subversion curl xz-utils osslsigncode \
- binutils-mingw-w64-x86-64 gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64-x86-64-dev libboost-dev
+ binutils-mingw-w64-x86-64 gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64-x86-64-dev
- run: |
make deps \
WERROR=1 JOBS=4 Q= \
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5dcea60..428194e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -40,7 +40,7 @@ jobs:
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get update
- sudo apt-get install autoconf automake bison build-essential cmake flex libtool pkg-config gettext libboost-dev
+ sudo apt-get install autoconf automake bison build-essential cmake flex libtool pkg-config gettext
sudo apt-get install ${{ matrix.compiler }} lcov osslsigncode
- name: Print Help
run: |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8eaa871..9eb6389 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,7 +19,7 @@ before_script:
- >
apt-get install -y -qq \
coreutils wget tar gzip bzip2 patch cmake make binutils gcc g++ autoconf automake flex bison texinfo \
- git subversion curl xz-utils osslsigncode libboost-dev
+ git subversion curl xz-utils osslsigncode
makedeps:
script:
diff --git a/README.md b/README.md
index 74ffc0b..6c6526c 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ Instead either use Zeranoe's build script with `make -C [path-to-this-repo] -f M
1. `examples/dpp-template`: plain and stupid ddk C example
2. `examples/dpp-template-cplusplus`: same, but written in C++, including a very complex class and some MT
-3. `examples/dpp-template-cplusplus-EASTL`: C++ example w/ (EA)STL integration, basicially everything usable except for SEH and assertions.
+3. `examples/dpp-template-cplusplus-EASTL`: C++ example w/ (EA)STL integration, basicially everything usable except for SEH, VEH and assertions.
`examples/dpp-template-cplusplus-EASTL` supports `BUILD_NATIVE`!
You can build and run it on your native Linux either with the other examples e.g. `make examples`, build only native executables `make -C examples DPP_ROOT="$(realpath .)" BUILD_NATIVE=1` in the top-level directory or directly build it from the examples directory with `make DPP_ROOT="$(realpath ..)" BUILD_NATIVE=1`.
@@ -189,6 +189,12 @@ The latter one has to be done manually on your target Windows machine by running
*Note*: You still need to call the macro `INSTALL_EXEC_SIGN` from your own Makefile to create/install the batch files in DESTDIR.
+## Extending
+
+You may reach a point where system functions, intrinsics or built-ins are required.
+For system functions that can be retrieved via `MmGetSystemRoutineAddress`, you may use `CRT/gen_wrapper.sh` to create wrapper modules. These modules retrieve the desired functions during run-time, but will be available during link-time. An example is `ZwTraceControl`, which gets exported by `ntdll.dll`.
+Eventually missing intrinsics/built-ins should be placed in `CRT/kcrt.c`.
+
## Thanks goes to:
- [Zeranoe](https://github.com/Zeranoe/mingw-w64-build) for the Mingw64 build script