Skip to content

Commit c76b719

Browse files
committed
1.3 release
1 parent fcbc11b commit c76b719

8 files changed

Lines changed: 1073 additions & 315 deletions

File tree

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,6 @@ And if you found this project useful, a star would be appreciated :)
133133
<br>
134134

135135
## Credits and contributors ✒️
136-
137-
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
138-
<!-- prettier-ignore-start -->
139-
<!-- markdownlint-disable -->
140-
141-
<!-- markdownlint-restore -->
142-
<!-- prettier-ignore-end -->
143-
144-
<!-- ALL-CONTRIBUTORS-LIST:END -->
145-
146-
[![All Contributors](https://img.shields.io/github/all-contributors/projectOwner/projectName?color=ee8449&style=flat-square)](#contributors)
147-
148136
- [Requiem](https://github.com/NotRequiem)
149137
- [Alex](https://github.com/greenozon)
150138
- [Marek Knápek](https://github.com/MarekKnapek)

auxiliary/arg_checks.py

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,25 @@
1+
#
2+
# ██╗ ██╗███╗ ███╗ █████╗ ██╗ ██╗ █████╗ ██████╗ ███████╗
3+
# ██║ ██║████╗ ████║██╔══██╗██║ ██║██╔══██╗██╔══██╗██╔════╝
4+
# ██║ ██║██╔████╔██║███████║██║ █╗ ██║███████║██████╔╝█████╗
5+
# ╚██╗ ██╔╝██║╚██╔╝██║██╔══██║██║███╗██║██╔══██║██╔══██╗██╔══╝
6+
# ╚████╔╝ ██║ ╚═╝ ██║██║ ██║╚███╔███╔╝██║ ██║██║ ██║███████╗
7+
# ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝
8+
#
9+
# C++ VM detection library
10+
#
11+
# =============================================================
12+
#
113
# this is just an internal script for CI/CD. The main goal is to
214
# check whether all of the techniques are actually updated since
315
# keeping track of the docs, the cli, and the table isn't easy,
416
# so I'm automating the checks in case I forget to update any.
17+
#
18+
# ===============================================================
19+
#
20+
# - Made by: @kernelwernel (https://github.com/kernelwernel)
21+
# - Repository: https://github.com/kernelwernel/VMAware
22+
# - License: GPL 3.0
523

624
import sys
725
import re
@@ -15,7 +33,7 @@ def fetch():
1533
header_content.reverse()
1634

1735
# breakpoint
18-
keyword = "const std::map<VM::u64, VM::technique> VM::table = {"
36+
keyword = "const std::map<VM::u8, VM::core::technique> VM::core::table = {"
1937

2038
# fetch index of breakpoint
2139
index_of_keyword = next((i for i, line in enumerate(header_content) if keyword in line), None)
@@ -36,7 +54,7 @@ def filter(raw_content):
3654
s.isspace() or
3755
"//" in s or
3856
";" in s or
39-
"VM::technique" in s
57+
"VM::core::technique" in s
4058
)]
4159

4260
# strip all whitespace

auxiliary/cpu_fuzzer.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,18 @@
66
* ╚████╔╝ ██║ ╚═╝ ██║██║ ██║╚███╔███╔╝██║ ██║██║ ██║███████╗
77
* ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝
88
*
9-
* A C++ VM detection library
9+
* C++ VM detection library
1010
*
1111
* ===============================================================
12-
12+
*
1313
* This program serves as an internal tool for fuzzing cpuid values
1414
* and comparing them between baremetal outputs and VM outputs.
1515
*
1616
* ===============================================================
1717
*
1818
* - Made by: @kernelwernel (https://github.com/kernelwernel)
1919
* - Repository: https://github.com/kernelwernel/VMAware
20+
* - License: GPL 3.0
2021
*/
2122

2223

auxiliary/updater.py

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,27 @@
1+
#
2+
# ██╗ ██╗███╗ ███╗ █████╗ ██╗ ██╗ █████╗ ██████╗ ███████╗
3+
# ██║ ██║████╗ ████║██╔══██╗██║ ██║██╔══██╗██╔══██╗██╔════╝
4+
# ██║ ██║██╔████╔██║███████║██║ █╗ ██║███████║██████╔╝█████╗
5+
# ╚██╗ ██╔╝██║╚██╔╝██║██╔══██║██║███╗██║██╔══██║██╔══██╗██╔══╝
6+
# ╚████╔╝ ██║ ╚═╝ ██║██║ ██║╚███╔███╔╝██║ ██║██║ ██║███████╗
7+
# ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝
8+
#
9+
# C++ VM detection library
10+
#
11+
# ===============================================================
12+
#
113
# This is an internal script to update the VMAware
214
# header file's banner automatically and much more reliably.
315
# For example, it'll update the line numbers for the sections
4-
# the header, and other basic information.
16+
# header, and other basic information.
17+
#
18+
# ===============================================================
19+
#
20+
# - Made by: @kernelwernel (https://github.com/kernelwernel)
21+
# - Repository: https://github.com/kernelwernel/VMAware
22+
# - License: GPL 3.0
23+
24+
525

626
def update(filename):
727
with open(filename, 'r') as vmaware_read:

0 commit comments

Comments
 (0)