epixoip
6ff51e1070
Workaround for NVML and WSL2 shim
2021-04-24 22:17:05 -05:00
Gabriele Gristina
77e328d659
Removed option --example-hashes, now is an alias of --hash-info
2020-12-29 07:56:20 +01:00
Gabriele Gristina
3ed1f0d840
Added new option: --hash-info
2020-12-29 04:58:58 +01:00
philsmd
e59f61e8cf
cosmetic: minor code style fixes
2020-06-13 11:19:00 +02:00
Rosen Penev
a6edb84157
Fix extra semicolon warnings
...
These macros don't need a ; but since ; is used, make the macros more
robust by enclosing them in a do while loop.
2019-11-09 16:42:50 -08:00
Jens Steube
ce0257dd84
Merge pull request #2189 from neheb/fgfggdf
...
bools
2019-11-05 12:29:02 +01:00
Rosen Penev
bd6c0e57e4
Change 0/1 to true/false
...
Found with clang-tidy
2019-09-11 18:36:52 -07:00
Rosen Penev
fd8150769d
Add casts where needed in C++ mode
...
Otherwise, -fpermissive must be passed.
2019-09-11 18:05:01 -07:00
Rosen Penev
98e17d5774
Run through clang-tidy's readability-uppercase-literal-suffix
...
1 and l are visually similar and can be confused. This also changes u to U
for consistency.
2019-08-03 19:59:17 -07:00
Gabriele Gristina
3161aec3da
fix the comments :)
2019-07-01 17:27:08 +02:00
Gabriele Gristina
5679ca3344
Rewrite hc_fopen to better handling file descriptor locking/unlocking functions, saving kernels binary from plain to gzip format
2019-07-01 01:30:24 +02:00
Gabriele Gristina
5d3ed3e754
Remove union from HCFILE, using std file ops in ocl_check_dri, remove debug comments
2019-06-28 17:58:08 +02:00
Gabriele Gristina
481c752456
No more compress functions, update example.dict.gz, remove some comments
2019-06-27 20:18:47 +02:00
Gabriele Gristina
398c89c75c
switch almost all FILE ops, potfile is the only missing
2019-06-26 19:06:46 +02:00
Gabriele Gristina
084ea69b3b
Fix missing hc_fread switch to new format
2019-06-22 16:56:14 +02:00
Jens Steube
3c4f4df771
Rename some more variables
2019-05-01 15:52:56 +02:00
Jens Steube
e3500ff4aa
Add CUDA device attributes to -I
2019-04-30 13:38:44 +02:00
Jens Steube
d862458ab5
Begin renaming API specific variables in backend section
2019-04-29 10:21:59 +02:00
Jens Steube
4b986de5fb
Prepare native CUDA hybrid integration
2019-04-25 14:45:17 +02:00
jsteube
4028bae578
Use dynloader.c instead of dlopen() directly
2018-12-19 16:09:28 +01:00
R. Yushaev
074fad9fef
Correct buffer size parameter in snprintf calls
...
There are approx. 240 snprintf calls that set the target buffer size to
out_len - 1 or similar. This "mind the null character" subtraction is
unnecessary since snprintf already includes the string termination into
the given buffer size.
2018-12-07 10:37:56 +01:00
jsteube
1156cf7207
Fixed invalid hardware monitor detection in benchmark mode
...
Fixes https://github.com/hashcat/hashcat/issues/1787
2018-11-17 14:40:30 +01:00
Jens Steube
2aff01b20e
Hardware Monitor: Renamed --gpu-temp-abort to --hwmon-temp-abort
...
Hardware Monitor: Renamed --gpu-temp-disable to --hwmon-disable
Fixed invalid warnings about throttling in case --hwmon-disable was used
Fixes https://github.com/hashcat/hashcat/issues/1757
2018-11-09 12:48:27 +01:00
RAN1
40cc9b948f
hwmon_ctx_init: return on speed_only and progress_only
2018-08-29 22:38:03 -04:00
RAN1
ec1b6442b1
Allow hwmon when temp abort is disabled by refactoring guards when hwmon is not present
2018-08-28 16:28:44 -04:00
jsteube
b864fa5ba7
Removed option --gpu-temp-retain that tried to retain GPU temperature at X degrees celsius, please use driver specific tools
...
Removed option --powertune-enable to enable power tuning, please use driver specific tools
2017-12-01 15:19:10 +01:00
Rosen Penev
6b0ee145c4
Fix missing stuff
2017-11-10 20:54:48 -08:00
Rosen Penev
3ba84f17f1
More clang tidy fixes
2017-11-05 01:52:29 -07:00
Rosen Penev
4ba19fa7c1
replace more snprintf calls with hc_asprintf.
2017-10-02 22:10:10 -07:00
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
2017-08-22 11:09:46 +02:00
jsteube
8abd7ae9d1
Fix some old GCC compiler warnings
2017-07-06 10:35:25 +02:00
jsteube
bb2118a290
Workaround added for NVidia NVML library: If libnvidia-ml.so couldn't be load try again using libnvidia-ml.so.1
2017-05-17 11:21:06 +02:00
sgroat
21efc80975
fix string
2017-04-10 13:35:01 -07:00
Royce Williams
be4cf9ef67
more event_log_* standardization
2017-04-02 00:18:59 -08:00
Royce Williams
067372f5ce
more event_log_* standardization
2017-04-01 23:50:06 -08:00
Rosen Penev
4ceb7a1afa
Prefer _WIN to _POSIX for defines.
...
Also miscellaneous fixes here and there.
2017-02-23 15:55:06 -08:00
Timo Juhani Lindfors
289744e7a3
Fix spelling of MHz
2017-02-22 19:34:33 +02:00
Rosen Penev
a1619f640d
Add ADL support to Cygwin
2017-02-21 21:57:05 -08:00
jsteube
0aca372ce8
Hardware Monitor: In case NVML initialization failed, do not try to initialiaze NVAPI or XNVCTRL because they both depend on NVML
2017-02-15 19:43:22 +01:00
philsmd
5ea1bd2a99
minor: the step value should never be zero
2017-02-14 19:22:51 +01:00
jsteube
ce5117631e
Hardware Monitor: Fixed several memory leaks when no AMDGPU-Pro hardware monitor sensor is found
2017-02-14 12:30:15 +01:00
jsteube
9b14a3f853
Hardware Monitor: Fixed several memory leaks when no hardware monitor sensor is found
2017-02-14 12:02:45 +01:00
jsteube
15f9a3ad83
Hardware Monitor: Fixed several memory leaks when no hardware monitor sensor is found
2017-02-14 11:48:18 +01:00
jsteube
85aba06e6f
Renamed some variables which 'shadow' another variable or function
2017-02-11 12:19:34 +01:00
Jens Steube
6cf3763eb5
Merge pull request #1044 from neheb/master
...
Fix more cppcheck warnings
2017-02-11 12:04:16 +01:00
Rosen Penev
a3d04a40b0
Fix more cppcheck warnings
2017-02-10 16:10:21 -08:00
sgroat
113fe102f5
Cleanup zero-length printf format string warnings
2017-02-10 10:46:52 -08:00
Rosen Penev
ee0911c26e
Add NVML and NVAPI support to Cygwin
2017-02-07 16:19:41 -08:00
Rosen Penev
2a2bd0e2b1
Restore strerror as %m is unsupported by the BSDs
...
The BSDs just print m instead of the actual error message. Benefit
is not worth the cost.
2017-02-03 17:53:50 -08:00
jsteube
17548d3ee8
Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat()
2017-01-27 11:46:45 +01:00