Gallopsled / pwntools

CTF framework and exploit development library
http://pwntools.com
Other
11.99k stars 1.7k forks source link

Allow to disable caching #2440

Open peace-maker opened 1 month ago

peace-maker commented 1 month ago

If you don't want to have any cache files created, we should support disabling the cache by setting context.cache_dir. It only accepts valid paths at the moment. It should be possible to disable it and also enable it again by reverting to the auto-generated cache path based on context.cache_dir_base.

This should be used to make caching tests more reliable like on https://github.com/Gallopsled/pwntools/pull/2358