mirror of
https://github.com/fromchat-messenger/app.git
synced 2026-09-23 03:25:06 +03:00
Fix CI smoke test compile scope and PE fixture size.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user