Commit Graph

1746 Commits

Author SHA1 Message Date
Elias Bachaalany
0516c1ad87 added missing syscall so that Windows 10 emulation works
For now, this is reports as not implemented but it seems to make the OS happy.
2025-01-10 11:27:04 -08:00
Maurice Heumann
22d21a3278 Some win10 progress (#64) 2025-01-10 16:55:00 +01:00
momo5502
d57678dbea Some win10 progress 2025-01-10 12:51:55 +01:00
Maurice Heumann
1eb90e26be Add Windows 2025 tests (#63) 2025-01-10 07:28:14 +01:00
momo5502
da5a710f44 Disable windows 10 for now 2025-01-10 07:19:25 +01:00
momo5502
d55b101f1b Add build platform 2025-01-10 07:09:02 +01:00
Maurice Heumann
6196c927f7 Minor interface refactorings (#62) 2025-01-09 19:23:10 +01:00
momo5502
cad5e674e4 Refactor emulator interface 2025-01-09 19:18:20 +01:00
Maurice Heumann
8d5f561ccf Bump deps/mini-gdbstub from 2b8a5aa to 632ebd3 (#61)
Bumps [deps/mini-gdbstub](https://github.com/momo5502/mini-gdbstub) from
`2b8a5aa` to `632ebd3`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="632ebd3892"><code>632ebd3</code></a>
Merge pull request <a
href="https://redirect.github.com/momo5502/mini-gdbstub/issues/1">#1</a>
from momo5502/platform-fixes</li>
<li>See full diff in <a
href="2b8a5aade4...632ebd3892">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-01-08 13:32:53 +01:00
dependabot[bot]
507a07de17 Bump deps/mini-gdbstub from 2b8a5aa to 632ebd3
Bumps [deps/mini-gdbstub](https://github.com/momo5502/mini-gdbstub) from `2b8a5aa` to `632ebd3`.
- [Commits](2b8a5aade4...632ebd3892)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-08 12:27:13 +00:00
Maurice Heumann
a254b129d0 Getting rid of explicit NtQuerySystemInformationEx syscall (#59)
This fixes #50
2025-01-08 11:25:30 +01:00
momo5502
7993c9c8e8 Small formatting fixes 2025-01-08 11:14:08 +01:00
momo5502
73eb7d659c Get rid of explicit NtQuerySystemInformationEx syscall 2025-01-08 11:02:04 +01:00
momo5502
0585978157 Add dummy full information 2025-01-08 07:48:11 +01:00
Maurice Heumann
6f0646cc1b Fix crashes due to hook deletions (#60) 2025-01-07 18:09:09 +01:00
momo5502
252ab1fed1 Fix hook deletions 2025-01-07 17:59:19 +01:00
momo5502
6a1da27afe Make installing and removing hooks thread safe 2025-01-07 16:43:28 +01:00
Maurice Heumann
a2db450aaf Add clang format configuration (#58)
This fixes #48
2025-01-06 17:24:58 +01:00
momo5502
bff8420ffd Format all the code 2025-01-06 17:19:26 +01:00
momo5502
64c2a79f0f Add clang-format file 2025-01-06 17:09:36 +01:00
momo5502
5d454c4733 Verify formatting using clang-format 2025-01-06 15:53:29 +01:00
Maurice Heumann
30708180d6 Update README.md 2025-01-06 15:45:48 +01:00
Maurice Heumann
90e861971b Prepare cross platform tests (#56)
This fixes #55
2025-01-06 14:37:09 +01:00
Maurice Heumann
ea4534e6c8 Update build.yml 2025-01-06 14:25:23 +01:00
momo5502
cc72e3918d Run tests 2025-01-06 13:47:24 +01:00
momo5502
2d9b35d346 Test unifying build jobs 2025-01-06 13:16:10 +01:00
momo5502
9d3b154335 Upload test configuration 2025-01-06 12:36:57 +01:00
momo5502
d9676cceb6 Disable concurrency restrictions 2025-01-06 12:36:46 +01:00
momo5502
e0278c2ff4 Add registry dump step 2025-01-06 12:12:56 +01:00
Maurice Heumann
10d5aa7634 Multi Platform Support - Linux & macOS Compilation (#47)
This is part of ongoing work for multi platform support

This PR brings Linux x86_x64 compilation

* windows structures are now controlled by us
* most structures have the basic foundations for future 32bit
abstractions
* explicit 16bit unicode support (Linux is 32bit Unicode)
* update of all syscall code to use the new structures and unicode
system

runtime support of the emulator under linux is still ongoing.
2025-01-06 09:47:18 +01:00
momo5502
fdb0fafa56 Reformat code + small fixes 2025-01-06 09:36:37 +01:00
momo5502
c5238e110b Ignore conversion warnings for now 2025-01-05 20:35:10 +01:00
momo5502
17860edc4c Fix most conversion warnings 2025-01-05 20:34:54 +01:00
momo5502
eeac915a55 Fix macOS warnings 2025-01-05 20:14:53 +01:00
momo5502
a8b4b69a8b Fix more format warnings 2025-01-05 20:09:28 +01:00
momo5502
69f82e5376 Fix compilation warnings on linux 2025-01-05 19:59:02 +01:00
momo5502
605d66c237 Fix ADL for serialize/deserialize 2025-01-05 19:31:51 +01:00
momo5502
3f00cdb181 Fix some compilation warnings 2025-01-05 19:27:17 +01:00
momo5502
4f444a7227 Warnings as errors for posix 2025-01-05 18:21:22 +01:00
momo5502
d87466337f Generate formatting warnings for custom logger 2025-01-05 18:04:04 +01:00
momo5502
6b172f5e78 Add macOS support 2025-01-05 17:43:17 +01:00
momo5502
0791b0fca7 Merge remote-tracking branch 'origin/main' into multi-platform-support
# Conflicts:
#	src/windows-emulator/syscall_dispatcher.cpp
#	src/windows-emulator/syscalls.cpp
2025-01-05 17:03:20 +01:00
momo5502
c55960f0b8 Rename ambiguous symbols 2025-01-05 17:01:37 +01:00
momo5502
036c4c8fb8 Add clang-18 build 2025-01-05 16:07:47 +01:00
momo5502
968c46f975 Fix printing 2025-01-05 15:58:16 +01:00
momo5502
7b1285f177 Fix format specifiers 2025-01-05 15:50:19 +01:00
momo5502
f4aa93e1da Add experimental linux build 2025-01-05 15:47:24 +01:00
momo5502
71913b2db0 Even more compilation fixes 2025-01-05 15:23:44 +01:00
momo5502
ec6e25787e Fix naming collisions 2025-01-05 15:02:00 +01:00
momo5502
f08a97eae6 Fix compilation after merge 2025-01-05 14:58:30 +01:00