Commit Graph

1019 Commits

Author SHA1 Message Date
dependabot[bot]
47c1fe777e Bump deps/googletest from 52204f7 to e90fe24
Bumps [deps/googletest](https://github.com/google/googletest) from `52204f7` to `e90fe24`.
- [Release notes](https://github.com/google/googletest/releases)
- [Commits](52204f78f9...e90fe24856)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-12 14:38:36 +00:00
Maurice Heumann
ebbcf33932 Fix root creation batch file 2025-04-12 10:30:12 +02:00
momo5502
4efb9fce18 Add batch files again with correct line endings 2025-04-12 10:22:25 +02:00
momo5502
6e254a2b48 Remove batch files 2025-04-12 10:22:01 +02:00
momo5502
b613c89bab Force correct line endings for batch files 2025-04-12 10:20:29 +02:00
momo5502
84399d987d Add quick start 2025-04-12 09:55:52 +02:00
Maurice Heumann
8bad084b74 Add AVX2 support (#195) 2025-04-12 09:11:18 +02:00
momo5502
fb644b8bf1 Disable avx2 for android 2025-04-12 08:54:18 +02:00
momo5502
35092b9cdf Use test-sample as analysis sample 2025-04-12 08:52:24 +02:00
momo5502
b701d44e90 Disable AVX2 for samples 2025-04-12 08:26:38 +02:00
momo5502
f42005ce5d Add avx2 support 2025-04-12 08:26:38 +02:00
Maurice Heumann
49a27eafff Remove dependencies from sample (#194) 2025-04-12 08:26:12 +02:00
momo5502
d0a24ac65c Remove dependencies from sample 2025-04-12 08:09:19 +02:00
Maurice Heumann
b449684bde Cleanup file syscalls (#193) 2025-04-11 21:23:43 +02:00
momo5502
891dafaf26 Cleanup file syscalls 2025-04-11 21:05:11 +02:00
Maurice Heumann
de3f9e5555 Cleanup system information syscalls (#192) 2025-04-11 19:27:32 +02:00
momo5502
facfe2b6bf More system information syscall cleanup 2025-04-11 17:59:30 +02:00
momo5502
915b31c093 Cleanup system information syscalls 2025-04-11 17:44:57 +02:00
momo5502
2c1edc819d Group backend targets 2025-04-11 17:33:38 +02:00
Maurice Heumann
3933019042 refactor(windows-emulator/syscalls): partial refactor of syscalls.cpp… (#191)
refactor(windows-emulator/syscalls): partial refactor of syscalls.cpp,
splits syscall implementations over multiple files
2025-04-11 17:25:34 +02:00
RektInator
8bc49bdd03 refactor(windows-emulator/syscalls): partial refactor of syscalls.cpp, splits syscall implementations over multiple files 2025-04-11 16:42:00 +02:00
Maurice Heumann
d9b6aefeff Run isolated windows test to reduce CI load (#190) 2025-04-11 11:37:44 +02:00
momo5502
7f6edb46f7 Run isolated windows test to reduce CI load 2025-04-11 11:01:53 +02:00
Maurice Heumann
1751ec6e9a Group backends in a dedicated source directory (#189) 2025-04-11 09:25:51 +02:00
Maurice Heumann
1adb16f8e7 feat: spoof rdtsc timings (#185)
Previously, RDTSC in the VM always returned a constant value of 4, which
broke any timing-based operations, or caused detections in heuristics of
malware and ANTI-VM tools.

This patch introduces a spoofed rdtsc_fake counter that tracks and
adjusts timing deltas to simulate realistic TSC increments. Can be
extended to simulate rdtsc timings based on CPU clock speed.
2025-04-11 09:24:36 +02:00
momo5502
705162d069 Cancel in-progress workflows to speedup CI 2025-04-11 09:07:51 +02:00
momo5502
d409c08ef6 Restructure backends 2025-04-11 08:58:49 +02:00
Soham Nandy
ea7f6a68c8 Use auto for timestamp_counter tick type
Co-authored-by: Maurice Heumann <MauriceHeumann@gmail.com>
2025-04-11 12:12:56 +05:30
Soham Nandy
640cd500c3 fix typo on time.hpp
Co-authored-by: Maurice Heumann <MauriceHeumann@gmail.com>
2025-04-11 12:12:31 +05:30
Soham Nandy
daeefb4a7f refactor(rdtsc): clean up code overall
Change type of chrono return to be auto

Co-authored-by: Maurice Heumann <MauriceHeumann@gmail.com>

simplify conditional compile and add #else to prevent clang-tidy breaking CI

Co-authored-by: Maurice Heumann <MauriceHeumann@gmail.com>
2025-04-11 06:39:01 +05:30
Soham Nandy
55f29caf0f Revert "refactor: better conditional compilation on time.hpp"
This reverts commit 3bb599d356.
2025-04-11 02:26:28 +05:30
Soham Nandy
3bb599d356 refactor: better conditional compilation on time.hpp 2025-04-11 02:21:22 +05:30
Soham Nandy
0271e39474 refactor(rdtsc): clean up tick logic,
fix intrinsics, and resolve x86 compiler issues

- fix `time.hpp` compiler warnings (errors) and use proper intrinsic for gcc
- simplify tick calculation logic
- fix: exclude intrinsics include for non x86 builds and fix style
- fix: get() on clock_ unique ptr
2025-04-11 01:46:52 +05:30
Soham Nandy
dbc1b4439e feat: spoof rdtsc timings
Previously, RDTSC in the VM always returned a constant value, which broke any non deterministic timing-based operations, or caused detections in heuristics of malware and ANTI-VM tools.

This patch introduces a spoofed rdtsc_fake counter that tracks and adjusts timing deltas to simulate realistic TSC increments. Can be extended to simulate rdtsc timings based on CPU clock speed.
2025-04-10 06:58:01 +05:30
Maurice Heumann
3836f5d381 Always use release windows artifacts (#186)
This will always use the windows release test sample artifacts. It
doesn't really make sense to test the debug artifacts. They're just
slower and do the same.

This will still run debug artifacts on windows.
The change only applies to non-windows platforms
2025-04-09 19:55:26 +02:00
momo5502
6cb43b672e Redirect to wiki 2025-04-09 18:59:09 +02:00
momo5502
446978ad5a Always use release windows artifacts
This will always use the windows release test sample artifacts.
It doesn't really make sense to test the debug artifacts.
They're just slower and do the same.

This will still run debug artifacts on windows.
The change only applies to non-windows platforms
2025-04-09 18:32:41 +02:00
Maurice Heumann
e737e6ed80 Improve momo_strip_target and add unicord-emulator and windows-emulator-test (#184)
Tested on linux locally in release mode.
Build size before:
105.9 MiB

Build size after:
46.4 MiB
2025-04-09 17:59:02 +02:00
João Lucas de Oliveira Lopes
7029829ec7 revert: add back strip in ios 2025-04-09 12:28:19 -03:00
João Lucas de Oliveira Lopes
e4542f407a chore: add back strip in ios 2025-04-09 11:59:19 -03:00
João Lucas de Oliveira Lopes
63059a328a chore: ignore android and ios. Add custom strip do macos 2025-04-09 11:49:16 -03:00
João Lucas de Oliveira Lopes
0c26c71fd5 Update cmake/utils.cmake
Co-authored-by: Maurice Heumann <MauriceHeumann@gmail.com>
2025-04-09 11:28:02 -03:00
João Lucas de Oliveira Lopes
0e45cc4d66 Update cmake/utils.cmake
momo5502 suggestion

Co-authored-by: Maurice Heumann <MauriceHeumann@gmail.com>
2025-04-09 11:27:12 -03:00
João Lucas
ac76a3ffd3 chore: improve momo_strip_target and add unicord-emulator and windows-emulator-test 2025-04-09 11:00:04 -03:00
Maurice Heumann
d73be6b656 Switch back to main icicle repo 2025-04-09 07:02:38 +02:00
Maurice Heumann
803c7da07b Disable icicle jit (#183) 2025-04-09 04:42:10 +02:00
momo5502
9e4e872b55 Run icicle debug tests 2025-04-08 20:37:56 +02:00
momo5502
b9c4cf98ad Disable icicle jit 2025-04-08 20:29:53 +02:00
momo5502
9e8f921be1 Add emulator names 2025-04-08 20:29:53 +02:00
Maurice Heumann
67d34b3988 Small fix 2025-04-08 10:17:05 +02:00