Fix CI smoke test compile scope and PE fixture size.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-13 17:24:46 +03:00
Unverified
parent 70937efca6
commit 7879ae681d
5 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ pe_machine() {
import struct, sys
path = sys.argv[1]
with open(path, "rb") as f:
data = f.read(0x40)
data = f.read(0x80)
pe_off = struct.unpack_from("<I", data, 0x3C)[0]
machine = struct.unpack_from("<H", data, pe_off + 4)[0]
print(machine)