Intitial release

This commit is contained in:
John husxdev 2025-04-12 01:40:13 -05:00
parent 299038fbc7
commit fa8caa5116
21 changed files with 1234 additions and 0 deletions

10
methods/decompilers.py Normal file
View file

@ -0,0 +1,10 @@
from abc import ABC, abstractmethod
from typing import List
from model.common_models import DecompileResult
class Decompiler(ABC):
@abstractmethod
def decompile(self, file_path: str, tags: List[str], sha256: str = "") -> DecompileResult:
"""Decompile the given file and return the result"""
pass

View file

@ -0,0 +1,9 @@
from typing import List
from methods.decompilers import Decompiler
from model.common_models import DecompileResult
class AmnesiaDecompiler(Decompiler):
def decompile(self, file_path: str, tags: List[str], sha256: str = "") -> DecompileResult:
# Placeholder implementation
return DecompileResult([], [])

View file

@ -0,0 +1,9 @@
from typing import List
from methods.decompilers import Decompiler
from model.common_models import DecompileResult
class LegacyNotokenDecompiler(Decompiler):
def decompile(self, file_path: str, tags: List[str], sha256: str = "") -> DecompileResult:
# Placeholder implementation
return DecompileResult([], [])

View file

@ -0,0 +1,9 @@
from typing import List
from methods.decompilers import Decompiler
from model.common_models import DecompileResult
class NotokenDecompiler(Decompiler):
def decompile(self, file_path: str, tags: List[str], sha256: str = "") -> DecompileResult:
# Placeholder implementation
return DecompileResult([], [])

View file

@ -0,0 +1,9 @@
from typing import List
from methods.decompilers import Decompiler
from model.common_models import DecompileResult
class PysilonDecompiler(Decompiler):
def decompile(self, file_path: str, tags: List[str], sha256: str = "") -> DecompileResult:
# Placeholder implementation
return DecompileResult([], [])