mirror of
https://github.com/dobin/SuperMega
synced 2026-06-03 01:27:11 +00:00
refactor: templater
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
from enum import Enum
|
||||
|
||||
import os
|
||||
|
||||
class FilePath(str):
|
||||
pass
|
||||
|
||||
|
||||
# Correlated with real template files
|
||||
# in plugins/
|
||||
|
||||
class AllocStyle(Enum):
|
||||
RWX = "rwx_1"
|
||||
#RW_X = "rw_x"
|
||||
@@ -28,3 +31,10 @@ class SourceStyle(Enum):
|
||||
peb_walk = 1
|
||||
iat_reuse = 2
|
||||
|
||||
|
||||
build_dir = "build"
|
||||
|
||||
main_c_file = os.path.join(build_dir, "main.c")
|
||||
main_asm_file = os.path.join(build_dir, "main.asm")
|
||||
main_exe_file = os.path.join(build_dir, "main.exe")
|
||||
main_shc_file = os.path.join(build_dir, "main.bin")
|
||||
Reference in New Issue
Block a user