Commit Graph

845 Commits

Author SHA1 Message Date
momo5502
df4208c34d Fix more warnings 2025-03-18 20:58:26 +01:00
momo5502
bf01b125ac Fix clang-tidy warnings 2025-03-18 20:40:14 +01:00
momo5502
d07656c1ee Disable PCH with clang-tidy 2025-03-18 20:22:37 +01:00
momo5502
db1ef0dd16 Include PCH everywhere 2025-03-18 20:19:26 +01:00
momo5502
ef8a9dae6e Fix warnings 2025-03-18 20:08:54 +01:00
momo5502
2a9a8eda35 Fix clang-tidy warnings 2025-03-18 19:42:30 +01:00
momo5502
07346a4fa3 Install and use clang 2025-03-18 19:16:35 +01:00
momo5502
a822f67ff9 Fix more clang tidy warnings 2025-03-18 19:16:26 +01:00
momo5502
046e01832d Fix clang-tidy warnings 2025-03-18 19:09:21 +01:00
momo5502
7c1bd69bfc Run clang tidy 2025-03-18 19:09:21 +01:00
momo5502
a32cb705f4 Clang Tidy Review 2025-03-18 18:31:26 +01:00
momo5502
003a0ed583 Switch to clang 20 2025-03-18 18:30:54 +01:00
momo5502
0925d6e53d Optimize clang install 2025-03-18 18:30:45 +01:00
Maurice Heumann
f912f8e1ce Test case insensitive fs support (#157) 2025-03-18 16:25:14 +01:00
momo5502
8c3326193c Test case insensitive fs support 2025-03-18 16:09:43 +01:00
Maurice Heumann
9fcff1950c Increase timeouts 2025-03-18 12:59:43 +01:00
Maurice Heumann
76711003b7 Wait for extraction 2025-03-18 12:56:13 +01:00
Maurice Heumann
f4f15e0d2f Use clock interfaces to precisely control time (#156)
This fixes #107
2025-03-18 12:42:59 +01:00
Maurice Heumann
95c7ffbf91 Move executed instructions into windows emulator 2025-03-18 12:35:38 +01:00
Maurice Heumann
2cc2137c3a Unify steady and system clock 2025-03-18 12:10:59 +01:00
Maurice Heumann
450e3c2a9c Use clock interfaces to precisely control time 2025-03-18 11:48:44 +01:00
Maurice Heumann
0a28b13d07 Small fix 2025-03-18 08:58:04 +01:00
Maurice Heumann
890e79ee5c Prevent path traversal (#155)
This fixes #109
2025-03-18 08:57:10 +01:00
Maurice Heumann
a5073a6ddf Add path traversal unit test 2025-03-18 08:49:13 +01:00
Maurice Heumann
b746fc17ee Sanitize paths
This fixes #109
2025-03-18 08:49:13 +01:00
Maurice Heumann
fd30ef1499 Potential fix for hanging DirectX installation (#153) 2025-03-17 20:53:46 +01:00
momo5502
7d1631e730 Wait for extraction 2025-03-17 20:46:51 +01:00
momo5502
2ab1b84de5 Revert "Update build.yml"
This reverts commit d5e875cf1b.
2025-03-17 20:37:35 +01:00
Maurice Heumann
1bccc8186e Update README.md 2025-03-16 09:27:05 +01:00
Maurice Heumann
fdc8503c5e Update README.md (#152)
Fix "prototypy" typo
2025-03-16 07:14:53 +01:00
SleekZ
ad6e967346 Update README.md 2025-03-14 19:18:47 +11:00
Maurice Heumann
b040db18d6 Retry DirectX install (#151) 2025-03-14 08:15:55 +01:00
Maurice Heumann
d5e875cf1b Update build.yml 2025-03-14 08:08:14 +01:00
Maurice Heumann
259eeee1de Bump deps/reflect from a53b785 to d294abf (#148)
Bumps [deps/reflect](https://github.com/qlibs/reflect) from `a53b785` to
`d294abf`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d294abfd0c"><code>d294abf</code></a>
🆕 <code>type_id_v</code></li>
<li>See full diff in <a
href="a53b785f83...d294abfd0c">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
2025-03-14 07:45:47 +01:00
Maurice Heumann
9cf7199e7b Bump deps/googletest from 24a9e94 to 4902ea2 (#150)
Bumps [deps/googletest](https://github.com/google/googletest) from
`24a9e94` to `4902ea2`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4902ea2d7c"><code>4902ea2</code></a>
Clarify the polymorphic matcher concept and explain how to define a
composite...</li>
<li><a
href="4ee4b17bf5"><code>4ee4b17</code></a>
Allow <code>DistanceFrom()</code> to use user-defined <code>abs()</code>
by default.</li>
<li><a
href="0bdccf4aa2"><code>0bdccf4</code></a>
Add a <code>DistanceFrom()</code> matcher for general distance
comparison.</li>
<li><a
href="e88cb95b92"><code>e88cb95</code></a>
Add a <code>testing::ConvertGenerator</code> overload that accepts a
converting functor....</li>
<li>See full diff in <a
href="24a9e940d4...4902ea2d7c">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
2025-03-14 07:42:40 +01:00
dependabot[bot]
ce4d90760b Bump deps/reflect from a53b785 to d294abf
Bumps [deps/reflect](https://github.com/qlibs/reflect) from `a53b785` to `d294abf`.
- [Release notes](https://github.com/qlibs/reflect/releases)
- [Commits](a53b785f83...d294abfd0c)

---
updated-dependencies:
- dependency-name: deps/reflect
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-14 06:35:37 +00:00
dependabot[bot]
a983deb8ca Bump deps/googletest from 24a9e94 to 4902ea2
Bumps [deps/googletest](https://github.com/google/googletest) from `24a9e94` to `4902ea2`.
- [Release notes](https://github.com/google/googletest/releases)
- [Commits](24a9e940d4...4902ea2d7c)

---
updated-dependencies:
- dependency-name: deps/googletest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-14 06:33:23 +00:00
Maurice Heumann
f6fcfc0f82 Update reflect_type_info.hpp 2025-03-14 07:32:19 +01:00
Maurice Heumann
fc45cc3dc4 Added info class handling (#149)
info_classes ProcessDeviceMap, ProcessEnableAlignmentFaultFixup in
handle_NtQueryInformationProcess and ThreadTimes in
handle_NtQueryInformationThread.
2025-03-05 13:09:34 +01:00
Maurice Heumann
ebed1bad80 Bump deps/zlib from 7108497 to 5a82f71 (#147)
Bumps [deps/zlib](https://github.com/madler/zlib) from `7108497` to
`5a82f71`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5a82f71ed1"><code>5a82f71</code></a>
Use generated zconf.h in cmake build.</li>
<li>See full diff in <a
href="7108497fda...5a82f71ed1">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
2025-03-05 13:02:45 +01:00
Maurice Heumann
f2d170c011 Bump deps/googletest from c00fd25 to 24a9e94 (#146)
Bumps [deps/googletest](https://github.com/google/googletest) from
`c00fd25` to `24a9e94`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="24a9e940d4"><code>24a9e94</code></a>
Try to warn the user when test filters do not match any tests</li>
<li><a
href="72189081ca"><code>7218908</code></a>
googletest: Add testonly alias of :gtest for testonly cc_libraries to
use.</li>
<li><a
href="144d335538"><code>144d335</code></a>
Add UnpackStructImpl for structs with 21 fields.</li>
<li><a
href="e5669fdffc"><code>e5669fd</code></a>
Output to the test warning file if no tests are linked.</li>
<li><a
href="54501746a6"><code>5450174</code></a>
Adds support for a --gtest_fail_if_no_test_linked flag</li>
<li><a
href="3fbe4db9a3"><code>3fbe4db</code></a>
GoogleTest C++17 cleanups</li>
<li><a
href="a6ce08abf7"><code>a6ce08a</code></a>
Property: Promote note to warning</li>
<li>See full diff in <a
href="c00fd25b71...24a9e940d4">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
2025-03-05 13:02:34 +01:00
CarlTSpeak
fca3e026b0 Added handling of 2 info_classes to NtQueryInformationProcess and ThreadTimes to NtQueryInformationThread 2025-03-05 09:51:00 +00:00
dependabot[bot]
845d364692 Bump deps/zlib from 7108497 to 5a82f71
Bumps [deps/zlib](https://github.com/madler/zlib) from `7108497` to `5a82f71`.
- [Release notes](https://github.com/madler/zlib/releases)
- [Commits](7108497fda...5a82f71ed1)

---
updated-dependencies:
- dependency-name: deps/zlib
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 17:48:31 +00:00
dependabot[bot]
51674f1e4a Bump deps/googletest from c00fd25 to 24a9e94
Bumps [deps/googletest](https://github.com/google/googletest) from `c00fd25` to `24a9e94`.
- [Release notes](https://github.com/google/googletest/releases)
- [Commits](c00fd25b71...24a9e940d4)

---
updated-dependencies:
- dependency-name: deps/googletest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 17:48:29 +00:00
Maurice Heumann
2043ab1327 Bump deps/zlib from ed16107 to 7108497 (#144)
Bumps [deps/zlib](https://github.com/madler/zlib) from `ed16107` to
`7108497`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="7108497fda"><code>7108497</code></a>
Check that HAVE_UNISTD_H and HAVE_STDARG_H are not defined as 0.</li>
<li><a
href="00161eff1d"><code>00161ef</code></a>
Do not look for zconf.h in the source directory.</li>
<li><a
href="8a844d434f"><code>8a844d4</code></a>
Use zconf.h instead of zconf.h.in for cmake.</li>
<li><a
href="d20659fc74"><code>d20659f</code></a>
Repair MinGW cmake build.</li>
<li><a
href="0b29118367"><code>0b29118</code></a>
Fix Ada bindings on x64.</li>
<li><a
href="c715ad71fe"><code>c715ad7</code></a>
Restore zconf.h to distribution.</li>
<li>See full diff in <a
href="ed1610791c...7108497fda">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
2025-02-17 09:41:14 +01:00
Maurice Heumann
d7b2838ebd Bump deps/googletest from e235eb3 to c00fd25 (#143)
Bumps [deps/googletest](https://github.com/google/googletest) from
`e235eb3` to `c00fd25`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c00fd25b71"><code>c00fd25</code></a>
Require C++17</li>
<li><a
href="4a00a24fff"><code>4a00a24</code></a>
Add SaveArgByMove</li>
<li><a
href="a866428a78"><code>a866428</code></a>
Update docs for v1.16.x branch</li>
<li><a
href="445e9bd8d0"><code>445e9bd</code></a>
Update GoogleTest deps in preparation for release</li>
<li><a
href="e5443e5c65"><code>e5443e5</code></a>
Remove empty glob pattern, which is now an error.</li>
<li>See full diff in <a
href="e235eb34c6...c00fd25b71">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
2025-02-17 09:34:47 +01:00
dependabot[bot]
0b29e238d8 Bump deps/zlib from ed16107 to 7108497
Bumps [deps/zlib](https://github.com/madler/zlib) from `ed16107` to `7108497`.
- [Release notes](https://github.com/madler/zlib/releases)
- [Commits](ed1610791c...7108497fda)

---
updated-dependencies:
- dependency-name: deps/zlib
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 08:25:15 +00:00
dependabot[bot]
3b3cc2c404 Bump deps/googletest from e235eb3 to c00fd25
Bumps [deps/googletest](https://github.com/google/googletest) from `e235eb3` to `c00fd25`.
- [Release notes](https://github.com/google/googletest/releases)
- [Commits](e235eb34c6...c00fd25b71)

---
updated-dependencies:
- dependency-name: deps/googletest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 08:25:13 +00:00
momo5502
0b3f3347dc Fix compilation with latest msvc 2025-02-15 09:19:24 +01:00
Maurice Heumann
b5aeaaf57a Some GDI fixes (#142) 2025-02-14 14:31:08 +01:00