angr.utils.smart_cache

class angr.utils.smart_cache.SmartLRUCache

Bases: LRUCache

An LRU cache that supports an eviction callback.

__init__(maxsize, getsizeof=None, evict=None)
Parameters:

evict (Callable | None)