mirror of
https://github.com/CPunch/LuaDecompy.git
synced 2024-11-23 15:10:09 +00:00
more minor refactoring
This commit is contained in:
parent
c37e9a21d8
commit
935844f274
@ -1,7 +1,7 @@
|
|||||||
'''
|
'''
|
||||||
l(un)dump.py
|
l(un)dump.py
|
||||||
|
|
||||||
A Lua5.1 cross-platform bytecode deserializer. This module pulls int and size_t sizes from the
|
A Lua5.1 cross-platform bytecode deserializer && serializer. This module pulls int and size_t sizes from the
|
||||||
chunk header, meaning it should be able to deserialize lua bytecode dumps from most platforms,
|
chunk header, meaning it should be able to deserialize lua bytecode dumps from most platforms,
|
||||||
regardless of the host machine.
|
regardless of the host machine.
|
||||||
|
|
||||||
@ -9,11 +9,9 @@
|
|||||||
as well as read the lundump.c source file from the Lua5.1 source.
|
as well as read the lundump.c source file from the Lua5.1 source.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
from multiprocessing.spawn import get_executable
|
|
||||||
import struct
|
import struct
|
||||||
import array
|
import array
|
||||||
from enum import IntEnum, Enum, auto
|
from enum import IntEnum, Enum, auto
|
||||||
from typing_extensions import Self
|
|
||||||
|
|
||||||
class InstructionType(Enum):
|
class InstructionType(Enum):
|
||||||
ABC = auto(),
|
ABC = auto(),
|
||||||
|
Loading…
Reference in New Issue
Block a user