Commit Graph

1815 Commits

Author SHA1 Message Date
Maurice Heumann
84430c156c Build(deps): Bump deps/flatbuffers from 64e5252 to c526cb6 (#424)
Bumps [deps/flatbuffers](https://github.com/google/flatbuffers) from
`64e5252` to `c526cb6`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c526cb640b"><code>c526cb6</code></a>
[Python] Enhance object API <code>__init__</code> with typed keyword
arguments (<a
href="https://redirect.github.com/google/flatbuffers/issues/8615">#8615</a>)</li>
<li><a
href="ca73ff34b7"><code>ca73ff3</code></a>
[Swift] Memory usage fix (<a
href="https://redirect.github.com/google/flatbuffers/issues/8643">#8643</a>)</li>
<li><a
href="2e49b3ba60"><code>2e49b3b</code></a>
docs: Fixing typo on PHP sample (<a
href="https://redirect.github.com/google/flatbuffers/issues/8566">#8566</a>)</li>
<li><a
href="f830c47d68"><code>f830c47</code></a>
[Python] Avoid double flatbuffers include in pyi files (<a
href="https://redirect.github.com/google/flatbuffers/issues/8626">#8626</a>)</li>
<li><a
href="501810f4d1"><code>501810f</code></a>
Fix JavaScript typo in mkdocs.yml (<a
href="https://redirect.github.com/google/flatbuffers/issues/8515">#8515</a>)</li>
<li><a
href="1047d7ec13"><code>1047d7e</code></a>
Fix Enum type definition (<a
href="https://redirect.github.com/google/flatbuffers/issues/8624">#8624</a>)</li>
<li><a
href="07c2eb5fe7"><code>07c2eb5</code></a>
Moves away from @_exported import to add the import in the generated
code (<a
href="https://redirect.github.com/google/flatbuffers/issues/8">#8</a>...</li>
<li><a
href="c7b9dc83f5"><code>c7b9dc8</code></a>
[Python] Avoid include own type (<a
href="https://redirect.github.com/google/flatbuffers/issues/8625">#8625</a>)</li>
<li><a
href="4c9079e31b"><code>4c9079e</code></a>
Update logo path (<a
href="https://redirect.github.com/google/flatbuffers/issues/8602">#8602</a>)</li>
<li>See full diff in <a
href="64e5252b4e...c526cb640b">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-07-25 08:47:58 +02:00
Maurice Heumann
f6d1370e9f Build(deps): Bump deps/gtest-parallel from 96f4f90 to cd488bd (#423)
Bumps [deps/gtest-parallel](https://github.com/google/gtest-parallel)
from `96f4f90` to `cd488bd`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="cd488bdedc"><code>cd488bd</code></a>
Fix tests</li>
<li><a
href="bc701b26b3"><code>bc701b2</code></a>
Add --print_test_command to print actual test command (<a
href="https://redirect.github.com/google/gtest-parallel/issues/95">#95</a>)</li>
<li><a
href="e06d5c87f5"><code>e06d5c8</code></a>
log_exit(): Add handler for signals (<a
href="https://redirect.github.com/google/gtest-parallel/issues/99">#99</a>)</li>
<li>See full diff in <a
href="96f4f90492...cd488bdedc">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-07-25 08:43:19 +02:00
Maurice Heumann
bad88cc543 Build(deps): Bump deps/googletest from 3983f67 to 32f9f4c (#422)
Bumps [deps/googletest](https://github.com/google/googletest) from
`3983f67` to `32f9f4c`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="32f9f4c82a"><code>32f9f4c</code></a>
Skip the predicate on SIGSEGV in death-test on Android builds with API
level ...</li>
<li><a
href="7e17b15f15"><code>7e17b15</code></a>
Fix the sample usage of <code>ConvertGenerator</code> by removing the
type-id name.</li>
<li><a
href="309dab8d4b"><code>309dab8</code></a>
Automated Code Change</li>
<li>See full diff in <a
href="3983f67e32...32f9f4c82a">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-07-25 08:41:34 +02:00
dependabot[bot]
5417481e9a Build(deps): Bump deps/flatbuffers from 64e5252 to c526cb6
Bumps [deps/flatbuffers](https://github.com/google/flatbuffers) from `64e5252` to `c526cb6`.
- [Release notes](https://github.com/google/flatbuffers/releases)
- [Commits](64e5252b4e...c526cb640b)

---
updated-dependencies:
- dependency-name: deps/flatbuffers
  dependency-version: c526cb640b49c5c3a58298de93b8225efcce9047
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-25 05:57:55 +00:00
dependabot[bot]
f60526fa20 Build(deps): Bump deps/gtest-parallel from 96f4f90 to cd488bd
Bumps [deps/gtest-parallel](https://github.com/google/gtest-parallel) from `96f4f90` to `cd488bd`.
- [Commits](96f4f90492...cd488bdedc)

---
updated-dependencies:
- dependency-name: deps/gtest-parallel
  dependency-version: cd488bdedc1d2cffb98201a17afc1b298b0b90f1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-25 05:57:53 +00:00
dependabot[bot]
e66ac56328 Build(deps): Bump deps/googletest from 3983f67 to 32f9f4c
Bumps [deps/googletest](https://github.com/google/googletest) from `3983f67` to `32f9f4c`.
- [Release notes](https://github.com/google/googletest/releases)
- [Commits](3983f67e32...32f9f4c82a)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-25 05:57:51 +00:00
momo5502
b7333b403d Prepare support for sharing files 2025-07-20 16:40:45 +02:00
momo5502
6eb4ef33ff Handle invalid page protections
This fixes #420
2025-07-20 09:34:25 +02:00
Maurice Heumann
6a1eb46fd2 Fix buffer overflow in logger (#419)
This fixes #412
2025-07-18 07:30:08 +02:00
momo5502
5e57360dc3 Fix buffer overflow 2025-07-18 07:15:54 +02:00
Maurice Heumann
6068e28df2 Fix tenet plugin pull request (#417) 2025-07-17 20:05:28 +02:00
Maurice Heumann
acc5dd9646 Fix compilation 2025-07-17 19:49:16 +02:00
Maurice Heumann
4d4c04eb78 Finish tenet tracer refactoring 2025-07-17 19:42:59 +02:00
Maurice Heumann
6e71e495bc More fixes 2025-07-17 18:55:16 +02:00
Maurice Heumann
3c05c7a607 Small fixes 2025-07-17 18:53:07 +02:00
Maurice Heumann
d09b32eb5e Fix clang tidy warnings 2025-07-17 18:45:18 +02:00
Maurice Heumann
b5e40c3627 Revert line endings 2025-07-17 18:38:26 +02:00
Maurice Heumann
8caf724c95 Fix formatting 2025-07-17 18:30:00 +02:00
Maurice Heumann
079d367792 Generate an output that the Tenet plugin can read (#416)
Generates a Tenet tracer output with the -t parameter. The original
Tenet tracer plugin is outdated, so I made updates to support our
emulator. The forked project below works well.

https://github.com/maskelihileci/tenet/tree/master/plugins_sogen-support
2025-07-17 18:11:47 +02:00
Maurice Heumann
9e5a6b509b Implement guard pages (#406)
Hey, looking for feedback on my guard page implementation. 

I wasn't sure on how to structure the additional windows specific memory
flags, since the emulation backends won't like additional guard flag. I
opted to create a new `memory_permission_ext` enum to hold the guard
flag, and a `nt_memory_permission` struct to wrap the "common" memory
permission flags, with the new extended flags. This struct implicitly
coerces to the original `memory_permission` to reduce the amount of
changes for the PR.

This however meant that I changed signatures of `map_memory` and
`apply_memory_protection` in `memory_interface` to accommodate this new
structure, and was an afterthought.

The `map_nt_to_emulator_protection` function might also need some
attention now, too. For future reference, windows uses
[MiMakeProtectionMask](https://doxygen.reactos.org/d1/d9a/marea_8c.html#adfb66408771a4df77c1056cc2a99ef21)
in ntoskrnl to map `PAGE_*` flags to [MM PTE
constants](https://reactos.org/wiki/Techwiki:Memory_management_in_the_Windows_XP_kernel).

The test added to the `test-sample` binary seems to be passing.

Fixes #21
2025-07-17 17:41:06 +02:00
3fault
188b95af5d Fix formatting 2025-07-17 11:27:23 -04:00
3fault
f1d54f7417 Parameterize basic_memory_region to support extended memory flags 2025-07-17 11:19:56 -04:00
3fault
9f637105fb Unset extended flags in nt_memory_permission assignment operator 2025-07-17 11:06:26 -04:00
3fault
8cea9fc75a Ensure memory is freed after guard page test 2025-07-17 10:55:45 -04:00
maskelihileci
20f96841de Generate an output that the Tenet plugin can read
Generates a Tenet tracer output with the -t parameter.
The original Tenet tracer plugin is outdated, so I made updates to support our emulator. The forked project below works well.

https://github.com/maskelihileci/tenet/tree/master/plugins_sogen-support
2025-07-17 14:36:29 +03:00
Maurice Heumann
b34adbadbf Fix icicle deprecation warning (#411) 2025-07-13 12:52:38 +02:00
Maurice Heumann
7632a77c36 Ah fuck it 2025-07-13 12:37:16 +02:00
Maurice Heumann
24ed6db02e Try different fix 2025-07-13 12:25:20 +02:00
Maurice Heumann
cc8aa65aec Fix icicle deprecation warning 2025-07-13 12:07:46 +02:00
Maurice Heumann
fe213743a3 Fix deleting threads (#410) 2025-07-12 21:48:41 +02:00
Maurice Heumann
d7a1a269b7 Setup thread before dispatching APC 2025-07-12 21:33:12 +02:00
momo5502
ac2d34c143 Small cleanup 2025-07-12 15:40:04 +02:00
momo5502
7a3a5d760e Fix thread deletion 2025-07-12 15:28:30 +02:00
momo5502
08995a4205 Print memory stats 2025-07-12 14:17:52 +02:00
momo5502
90c087786c Better output window updating 2025-07-12 11:18:25 +02:00
momo5502
65c13817a0 Reduce shadow 2025-07-12 11:03:42 +02:00
momo5502
c513debcae Frosted glass effect 2025-07-12 10:24:18 +02:00
momo5502
f9be33b383 Better summary 2025-07-12 09:53:47 +02:00
Maurice Heumann
db68f70f58 Fix formatting 2025-07-11 20:26:07 +02:00
momo5502
11593e2298 Add tooltips everywhere 2025-07-11 20:03:45 +02:00
momo5502
ecb53f8d60 Use monospace font 2025-07-11 15:09:09 +02:00
Maurice Heumann
6e24b23c2f Update playground.tsx 2025-07-11 14:33:45 +02:00
Maurice Heumann
29878ae2ea Update playground.tsx 2025-07-11 13:57:34 +02:00
momo5502
0794c1038b Display emulation status 2025-07-11 13:43:21 +02:00
Maurice Heumann
f00aac744f Fix formatting 2025-07-10 20:00:33 +02:00
Maurice Heumann
35090fa16e Change color 2025-07-10 19:26:36 +02:00
momo5502
ab587091bc Don't wait for build step 2025-07-09 21:23:32 +02:00
momo5502
acb65dc10d Log message box arguments 2025-07-09 21:17:32 +02:00
3fault
f4fc9c4a6c fix memory_permissions_ext includes 2025-07-09 14:49:26 -04:00
3fault
19574fb512 remove references to nt_memory_permission from backend 2025-07-09 14:43:06 -04:00