You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@lru_cache(maxsize=1)
def omvll_get_config() -> omvll.ObfuscationConfig:
"""
Return an instance of ObfuscationConfig which
aims at describing the obfuscation scheme
"""
return MyConfig()
Is failing.
If I remove the struct access feature it works fine.
The text was updated successfully, but these errors were encountered:
How to reproduce:
Using the following configuration:
import omvll
from functools import lru_cache
class MyConfig(omvll.ObfuscationConfig):
def init(self):
super().init()
def obfuscate_arithmetic(self, mod: omvll.Module,
fun: omvll.Function) -> omvll.ArithmeticOpt:
return True
def flatten_cfg(self, mod: omvll.Module, func: omvll.Function):
return True
def obfuscate_constants(_, __, func: omvll.Function):
return True
def obfuscate_struct_access(self, _: omvll.Module, __: omvll.Function,
struct: omvll.Struct):
return True
def obfuscate_string(self, _, __, string: bytes):
return omvll.StringEncOptStack()
@lru_cache(maxsize=1)
def omvll_get_config() -> omvll.ObfuscationConfig:
"""
Return an instance of ObfuscationConfig which
aims at describing the obfuscation scheme
"""
return MyConfig()
Is failing.
If I remove the struct access feature it works fine.
The text was updated successfully, but these errors were encountered: