Jens Steube
4b986de5fb
Prepare native CUDA hybrid integration
5 years ago
jsteube
4028bae578
Use dynloader.c instead of dlopen() directly
6 years ago
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.
6 years ago
jsteube
1156cf7207
Fixed invalid hardware monitor detection in benchmark mode
...
Fixes https://github.com/hashcat/hashcat/issues/1787
6 years ago
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
6 years ago
RAN1
40cc9b948f
hwmon_ctx_init: return on speed_only and progress_only
6 years ago
RAN1
ec1b6442b1
Allow hwmon when temp abort is disabled by refactoring guards when hwmon is not present
6 years ago
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
7 years ago
Rosen Penev
6b0ee145c4
Fix missing stuff
7 years ago
Rosen Penev
3ba84f17f1
More clang tidy fixes
7 years ago
Rosen Penev
4ba19fa7c1
replace more snprintf calls with hc_asprintf.
7 years ago
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
7 years ago
jsteube
8abd7ae9d1
Fix some old GCC compiler warnings
7 years ago
jsteube
bb2118a290
Workaround added for NVidia NVML library: If libnvidia-ml.so couldn't be load try again using libnvidia-ml.so.1
7 years ago
sgroat
21efc80975
fix string
7 years ago
Royce Williams
be4cf9ef67
more event_log_* standardization
7 years ago
Royce Williams
067372f5ce
more event_log_* standardization
7 years ago
Rosen Penev
4ceb7a1afa
Prefer _WIN to _POSIX for defines.
...
Also miscellaneous fixes here and there.
7 years ago
Timo Juhani Lindfors
289744e7a3
Fix spelling of MHz
7 years ago
Rosen Penev
a1619f640d
Add ADL support to Cygwin
7 years ago
jsteube
0aca372ce8
Hardware Monitor: In case NVML initialization failed, do not try to initialiaze NVAPI or XNVCTRL because they both depend on NVML
7 years ago
philsmd
5ea1bd2a99
minor: the step value should never be zero
7 years ago
jsteube
ce5117631e
Hardware Monitor: Fixed several memory leaks when no AMDGPU-Pro hardware monitor sensor is found
7 years ago
jsteube
9b14a3f853
Hardware Monitor: Fixed several memory leaks when no hardware monitor sensor is found
7 years ago
jsteube
15f9a3ad83
Hardware Monitor: Fixed several memory leaks when no hardware monitor sensor is found
7 years ago
jsteube
85aba06e6f
Renamed some variables which 'shadow' another variable or function
7 years ago
Jens Steube
6cf3763eb5
Merge pull request #1044 from neheb/master
...
Fix more cppcheck warnings
7 years ago
Rosen Penev
a3d04a40b0
Fix more cppcheck warnings
7 years ago
sgroat
113fe102f5
Cleanup zero-length printf format string warnings
7 years ago
Rosen Penev
ee0911c26e
Add NVML and NVAPI support to Cygwin
7 years ago
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.
7 years ago
jsteube
17548d3ee8
Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat()
7 years ago
jsteube
45aae6a178
Switched matching ADL device with OpenCL device by using PCI bus, device and function
8 years ago
Jens Steube
f22836b35e
Switched matching xnvctrl device with OpenCL device by using PCI bus, device and function
8 years ago
Jens Steube
c77c9ff72e
Switched matching NvAPI device with OpenCL device by using PCI bus, device and function
8 years ago
Jens Steube
2c82e53d38
Switched matching NVML device with OpenCL device by using PCI bus, device and function
8 years ago
jsteube
ee6b81aa62
Add hm_NVML_nvmlDeviceGetPciInfo() for later use
8 years ago
jsteube
6ece83760d
Add wrapping function for asprintf()
8 years ago
Rosen Penev
36bd1c7dd9
Replace some snprintf calls with asprintf.
...
Simplifies the code.
8 years ago
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m
8 years ago
Rosen Penev
4d09cc10fd
Fix some formats and conversion errors
8 years ago
jsteube
fc38f36701
Help the user to fix the coolbits problem as warning not error
8 years ago
jsteube
c376c1e96b
Add a notice to user to setup coolbits
8 years ago
jsteube
fe3398f197
Check both fanpolicy and fanspeed rc and disable retain support of any of them failed
8 years ago
jsteube
ac340a2ec1
Showing HM error only once update
8 years ago
jsteube
da76ac97f8
Improve --gpu-temp-retain support detection
8 years ago
jsteube
06c1d4a52e
Hardware-Management initialization refactor, to show HM related errors only once on startup
8 years ago
jsteube
90b9d5c12c
Fix some potential resource leaks in case of an error
8 years ago
jsteube
ea4fd1de50
Remove complicated checks after memory allocation and in case of error print to stderr instead. This makes the memory allocation functions more natural to use.
8 years ago
jsteube
30652f58b4
use pwm1_max as reference in sysfs for 100%, not a fixed value
8 years ago