mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-26 19:44:50 +02:00
10 lines
195 B
Python
10 lines
195 B
Python
import functools
|
|
import volatility
|
|
|
|
|
|
def lru_cache(*args, **kwargs):
|
|
if not volatility.CACHING:
|
|
return lambda x: x
|
|
raise Exception
|
|
return functools.lru_cache(*args, **kwargs)
|