Commit Graph

1132 Commits

Author SHA1 Message Date
Igor Pissolati
b40cfa2bed Apply suggested changes 2025-04-21 21:52:40 -03:00
Igor Pissolati
7dbf498ea9 Fix clang-tidy warning (attempt 2) 2025-04-20 17:08:54 -03:00
Igor Pissolati
5eba6d5e8d Fix clang-tidy warning 2025-04-20 16:44:12 -03:00
Igor Pissolati
140d1dd5b3 Fix failing checks 2025-04-20 16:26:08 -03:00
Igor Pissolati
763b8fc760 Improvements to registry syscalls 2025-04-20 16:09:04 -03:00
Maurice Heumann
759bd0e9fb Add more atom-related syscalls (#211)
While trying to run some executables I noticed handlers for
`NtUserRegisterClassExWOW`/`NtUserUnregisterClass` were necessary, so
this PR aims to add them. Also, while working on this PR I noticed that
atoms should be ref-counted, so this PR also does that.

I found a previous abandoned PR that aimed to add it
(https://github.com/momo5502/emulator/pull/101), so I took some of the
feedback from that and added a common function in process_context to
handle the atoms, I hope that's ok.
2025-04-20 06:48:23 +02:00
Igor Pissolati
317d90d7d8 Merge branch 'main' into pr/1 2025-04-20 01:34:06 -03:00
Maurice Heumann
011205039a Fix NtOpenSection and add 3 new syscall handlers (#212)
This PR aims to fix an issue with NtOpenSection where it would fail with
"Unsupported section" if the RootDirectory was
"BASE_NAMED_OBJECTS_DIRECTORY", it also adds handlers for "NtOpenThread"
(stub), "NtUserGetProcessWindowStation" (stub) and "NtFlushBuffersFile".

As you can see from the changes, the `NtOpenThread` handler simply
returns `STATUS_NOT_SUPPORTED`. I don't know if there's anything better
I could do, but this was enough to get around it in the executable I was
trying to run.
2025-04-20 06:12:52 +02:00
Igor Pissolati
e74b1dad5a Fix formatting (attempt 2) 2025-04-19 17:23:03 -03:00
Igor Pissolati
8e48793f47 Fix formatting 2025-04-19 17:12:41 -03:00
Igor Pissolati
d8f8bd07f9 Fix failed check 2025-04-19 17:12:27 -03:00
Igor Pissolati
c702bedaee Add 3 new syscall handlers 2025-04-19 16:33:34 -03:00
Igor Pissolati
5d19803020 Fix NtOpenSection 2025-04-19 16:29:47 -03:00
Igor Pissolati
88a744a756 Hopefully fix formatting 2025-04-19 15:29:17 -03:00
Igor Pissolati
09b25d8c89 Fix NtDeleteAtom signature 2025-04-19 15:18:26 -03:00
Igor Pissolati
6b1df674ab Fix non-windows builds 2025-04-19 15:07:12 -03:00
Igor Pissolati
3dfad0f789 Add more atom-related syscalls 2025-04-19 13:52:13 -03:00
momo5502
30a750dea5 Allow consuming up to 4gb of memory with emscripten 2025-04-19 09:41:27 +02:00
Maurice Heumann
36650bca8c Bump deps/googletest from e90fe24 to 155b337 (#210)
Bumps [deps/googletest](https://github.com/google/googletest) from
`e90fe24` to `155b337`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="155b337c93"><code>155b337</code></a>
Bump RE2 dependency to 2024-07-02.bcr.1</li>
<li>See full diff in <a
href="e90fe24856...155b337c93">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-04-19 09:25:25 +02:00
momo5502
a8d25b0a5c Save another DLL 2025-04-19 09:23:11 +02:00
Maurice Heumann
d6329bb37a Bump deps/reflect from e85c958 to 68d8fd0 (#209)
Bumps [deps/reflect](https://github.com/qlibs/reflect) from `e85c958` to
`68d8fd0`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="68d8fd0913"><code>68d8fd0</code></a>
🎨 [style] formatting</li>
<li><a
href="1e497a9d7a"><code>1e497a9</code></a>
🔧 [cppm] C++ mode</li>
<li><a
href="f03e4052dd"><code>f03e405</code></a>
📚 [README]</li>
<li><a
href="809d8506e7"><code>809d850</code></a>
🔧 LICENSE</li>
<li><a
href="fe39b8f0f4"><code>fe39b8f</code></a>
📚 [README]</li>
<li><a
href="aa7121a971"><code>aa7121a</code></a>
📚 [README]</li>
<li><a
href="aed8253baf"><code>aed8253</code></a>
📚 [README]</li>
<li><a
href="4ca8ce1976"><code>4ca8ce1</code></a>
🔧 [cppm] license</li>
<li><a
href="1dbce7ae71"><code>1dbce7a</code></a>
🆕 Support C++20 module - original commit by <a
href="https://github.com/stripe2933"><code>@​stripe2933</code></a> - <a
href="https://github">https://github</a>....</li>
<li>See full diff in <a
href="e85c958d22...68d8fd0913">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-04-19 09:18:57 +02:00
dependabot[bot]
056eccd8c0 Bump deps/googletest from e90fe24 to 155b337
Bumps [deps/googletest](https://github.com/google/googletest) from `e90fe24` to `155b337`.
- [Release notes](https://github.com/google/googletest/releases)
- [Commits](e90fe24856...155b337c93)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-19 06:58:07 +00:00
dependabot[bot]
5b09ec1aad Bump deps/reflect from e85c958 to 68d8fd0
Bumps [deps/reflect](https://github.com/qlibs/reflect) from `e85c958` to `68d8fd0`.
- [Release notes](https://github.com/qlibs/reflect/releases)
- [Commits](e85c958d22...68d8fd0913)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-19 06:58:06 +00:00
Maurice Heumann
9837da8416 Enable object watching for every platform (#208)
...except Linux + GCC. 💩 compiler
2025-04-19 08:56:26 +02:00
momo5502
3e53325c03 Fix compilation 2025-04-19 08:35:50 +02:00
momo5502
b5c37e6a92 Disable object watching for GCC 2025-04-19 08:25:58 +02:00
momo5502
2d7aecc3f4 Fix warnings 2025-04-19 08:25:47 +02:00
momo5502
662db697a7 Watch system objects everywhere 2025-04-19 08:13:31 +02:00
momo5502
22c3d0bc7c Watch objects in detail only with verbose logging 2025-04-19 08:02:03 +02:00
momo5502
5c70f780d1 Archive more dlls 2025-04-19 08:01:47 +02:00
momo5502
0edd4c640c Remove unnecessary permissions 2025-04-18 20:11:27 +02:00
Maurice Heumann
c8fdbf305f Add Node.js tests (#207) 2025-04-18 19:56:06 +02:00
momo5502
fc48ce1102 Update unicorn 2025-04-18 19:27:58 +02:00
momo5502
a157a76cae Ensure bash is used to set environment variables 2025-04-18 17:54:59 +02:00
momo5502
26afe5731c Fix pipeline 2025-04-18 17:42:11 +02:00
momo5502
38b2c05fa7 Maybe fix unicorn 2025-04-18 17:37:26 +02:00
momo5502
9f10a555b0 Add nodejs smoke test 2025-04-18 17:33:07 +02:00
momo5502
59f700e1cd Revert "Fix node tests"
This reverts commit ff050ed74c.
2025-04-18 17:28:42 +02:00
momo5502
ff050ed74c Fix node tests 2025-04-18 17:17:15 +02:00
momo5502
67534393ff Build and test nodejs 2025-04-18 16:59:13 +02:00
momo5502
ef72596436 Add nodejs support 2025-04-18 16:59:04 +02:00
momo5502
c866380fe0 Fix exceptions 2025-04-18 12:40:26 +02:00
momo5502
fe4ce3d379 Fix layout 2025-04-18 12:23:51 +02:00
momo5502
bf23eac588 Always perform concise executable read logging without verbose logging 2025-04-18 11:46:48 +02:00
Maurice Heumann
a94fdeebc0 Emscripten progress (#206) 2025-04-18 11:38:10 +02:00
momo5502
f641ebbfd5 Support own exe files 2025-04-18 11:37:34 +02:00
momo5502
baca3ce0f9 Always print errors 2025-04-18 11:29:40 +02:00
Maurice Heumann
101b42de33 Support compilation with emscripten (#205) 2025-04-18 10:29:17 +02:00
momo5502
be89ba0c97 Fix unicorn 2025-04-18 09:51:57 +02:00
momo5502
9a2a6de16b Only deploy page on main branch 2025-04-18 09:16:11 +02:00