1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-27 00:48:13 +00:00
Commit Graph

97 Commits

Author SHA1 Message Date
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
jsteube
45aae6a178 Switched matching ADL device with OpenCL device by using PCI bus, device and function 2016-12-28 10:51:39 +01:00
Jens Steube
f22836b35e Switched matching xnvctrl device with OpenCL device by using PCI bus, device and function 2016-12-27 19:20:27 +01:00
Jens Steube
c77c9ff72e Switched matching NvAPI device with OpenCL device by using PCI bus, device and function 2016-12-27 17:41:29 +01:00
Jens Steube
2c82e53d38 Switched matching NVML device with OpenCL device by using PCI bus, device and function 2016-12-27 14:44:12 +01:00
jsteube
ee6b81aa62 Add hm_NVML_nvmlDeviceGetPciInfo() for later use 2016-12-27 14:01:24 +01:00
jsteube
6ece83760d Add wrapping function for asprintf() 2016-12-24 00:40:40 +01:00
Rosen Penev
36bd1c7dd9 Replace some snprintf calls with asprintf.
Simplifies the code.
2016-12-19 16:46:30 -08:00
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m 2016-12-02 21:26:10 -08:00
Rosen Penev
4d09cc10fd
Fix some formats and conversion errors 2016-11-30 15:14:42 -08:00
jsteube
fc38f36701 Help the user to fix the coolbits problem as warning not error 2016-11-22 18:00:44 +01:00
jsteube
c376c1e96b Add a notice to user to setup coolbits 2016-11-22 17:54:29 +01:00
jsteube
fe3398f197 Check both fanpolicy and fanspeed rc and disable retain support of any of them failed 2016-11-22 16:45:11 +01:00
jsteube
ac340a2ec1 Showing HM error only once update 2016-11-21 17:15:55 +01:00
jsteube
da76ac97f8 Improve --gpu-temp-retain support detection 2016-11-21 16:49:59 +01:00
jsteube
06c1d4a52e Hardware-Management initialization refactor, to show HM related errors only once on startup 2016-11-21 15:58:44 +01:00
jsteube
90b9d5c12c Fix some potential resource leaks in case of an error 2016-11-20 23:15:54 +01:00
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. 2016-11-20 22:54:52 +01:00
jsteube
30652f58b4 use pwm1_max as reference in sysfs for 100%, not a fixed value 2016-11-20 20:44:12 +01:00
jsteube
7ae025efce Improve checking for successfully load of the NVML API 2016-11-20 15:59:27 +01:00
jsteube
7249366667 Fix some possible division by 0 in hm_SYSFS_get_fan_speed_current() 2016-11-20 13:39:29 +01:00
jsteube
72e39a7ec0 Try to use true and false in case we're handling a bool data-type just as kind of a hint it's a bool 2016-11-18 10:09:03 +01:00
jsteube
bb972931f3 Fix some code in hwmon.c to make cppcheck happy 2016-11-16 14:12:12 +01:00
jsteube
8645571a7c Improve CPU detection on AMDGPU-Pro 2016-11-14 13:05:40 +01:00
Rosen Penev
22abb22c13
Fix a few printf formats 2016-11-13 17:45:36 -08:00
Rosen Penev
bd780a3729
Fix a few float conversion errors 2016-11-12 15:20:38 -08:00
jsteube
ac811011b0 Fix SYSFS device_id numbering 2016-11-11 23:48:43 +01:00
jsteube
12ea82b821 Added support for --powertune-enable for AMD-GPU-PRO driver 2016-11-10 17:05:26 +01:00
jsteube
69804dc5f7 Fix folder.c warnings when compiling on windows 2016-11-07 15:05:12 +01:00
jsteube
47b852fcf7 Added memory-clock, shader-clock and lanes to status screen via amd-gpu-pro sysfs readings 2016-11-06 12:46:51 +01:00
jsteube
9eb9543cda Basic sysfs support to read temp and read/write fan speed for amd-gpu-pro 2016-11-05 23:19:13 +01:00