mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Kernel Development: Kernel cache is disabled automatically in casehashcat is compiled with DEBUG=1
See https://github.com/hashcat/hashcat/issues/2750
This commit is contained in:
parent
db57497e8f
commit
0ba77fe761
@ -78,6 +78,7 @@
|
||||
- Hash-Mode 13200 (AxCrypt): Changed the name to AxCrypt 1 to avoid confusion
|
||||
- Hash-Mode 13300 (AxCrypt in-memory SHA1): Changed the name to AxCrypt 1 in-memory SHA1
|
||||
- Kernel Crypto Library: Removed unnecessary utf16 conversion functions which would apply on HMAC data portion
|
||||
- Kernel Development: Kernel cache is disabled automatically in case hashcat is compiled with DEBUG=1
|
||||
- OpenCL Runtime: Switched default OpenCL device type on macOS from GPU to CPU. Use -D 2 to enable GPU devices
|
||||
- Unit tests: Added Python 3 support for all of the Python code in our test framework
|
||||
- Unit tests: Fixed the packaging of test (-p) feature
|
||||
|
@ -8568,6 +8568,11 @@ int backend_session_begin (hashcat_ctx_t *hashcat_ctx)
|
||||
cache_disable = module_ctx->module_jit_cache_disable (hashconfig, user_options, user_options_extra, hashes, device_param);
|
||||
}
|
||||
|
||||
#if defined (DEBUG)
|
||||
// https://github.com/hashcat/hashcat/issues/2750
|
||||
cache_disable = true;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* shared kernel with no hashconfig dependencies
|
||||
*/
|
||||
|
@ -522,7 +522,7 @@ void setup_environment_variables (const folder_config_t *folder_config)
|
||||
putenv ((char *) "DISPLAY=:0");
|
||||
}
|
||||
|
||||
/*
|
||||
#if defined (DEBUG)
|
||||
if (getenv ("OCL_CODE_CACHE_ENABLE") == NULL)
|
||||
putenv ((char *) "OCL_CODE_CACHE_ENABLE=0");
|
||||
|
||||
@ -531,7 +531,7 @@ void setup_environment_variables (const folder_config_t *folder_config)
|
||||
|
||||
if (getenv ("POCL_KERNEL_CACHE") == NULL)
|
||||
putenv ((char *) "POCL_KERNEL_CACHE=0");
|
||||
*/
|
||||
#endif
|
||||
|
||||
if (getenv ("TMPDIR") == NULL)
|
||||
{
|
||||
@ -544,8 +544,10 @@ void setup_environment_variables (const folder_config_t *folder_config)
|
||||
// we can't free tmpdir at this point!
|
||||
}
|
||||
|
||||
/*
|
||||
if (getenv ("CL_CONFIG_USE_VECTORIZER") == NULL)
|
||||
putenv ((char *) "CL_CONFIG_USE_VECTORIZER=False");
|
||||
*/
|
||||
|
||||
#if defined (__CYGWIN__)
|
||||
cygwin_internal (CW_SYNC_WINENV);
|
||||
|
Loading…
Reference in New Issue
Block a user