Commit Graph

147 Commits (master)

Author SHA1 Message Date
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.
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
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
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.
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
jsteube 7ae025efce Improve checking for successfully load of the NVML API
8 years ago
jsteube 7249366667 Fix some possible division by 0 in hm_SYSFS_get_fan_speed_current()
8 years ago
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
8 years ago
jsteube bb972931f3 Fix some code in hwmon.c to make cppcheck happy
8 years ago
jsteube 8645571a7c Improve CPU detection on AMDGPU-Pro
8 years ago
Rosen Penev 22abb22c13
Fix a few printf formats
8 years ago
Rosen Penev bd780a3729
Fix a few float conversion errors
8 years ago
jsteube ac811011b0 Fix SYSFS device_id numbering
8 years ago
jsteube 12ea82b821 Added support for --powertune-enable for AMD-GPU-PRO driver
8 years ago
jsteube 69804dc5f7 Fix folder.c warnings when compiling on windows
8 years ago
jsteube 47b852fcf7 Added memory-clock, shader-clock and lanes to status screen via amd-gpu-pro sysfs readings
8 years ago
jsteube 9eb9543cda Basic sysfs support to read temp and read/write fan speed for amd-gpu-pro
8 years ago
jsteube 3442892fda Use __attribute__ ((format (printf, 2, 3))) to help compiler to identify format strings
8 years ago
Rosen Penev a219b95c17
Fix a bunch of warnings
8 years ago
jsteube 99afe745b5 Fix NvAPI fan speed restore to default on quit
8 years ago
jsteube 1c055a6311 Move event_log_info() out of hashes.c
8 years ago
jsteube 8598a79732 Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository
8 years ago
jsteube ebc26ecac5 Fix some log levels in opencl.c
8 years ago
jsteube a3bf6fd4ef Make use of nvmlDeviceGetCount()
8 years ago
jsteube af9de0a7b7 Fix some error string formats
8 years ago
jsteube 8fc4da795b Replace fprintf(stderr, ...) on malloc.c with log_event_error()
8 years ago
jsteube 27bec8be13 Get rid of logging.c and most exit() calls replaced with return() for true library usage
8 years ago
jsteube 3a563ce2e9 Fix some nvapi calls
8 years ago
jsteube f084aaf61b Update hwmon.c function parameters
8 years ago
coolbry95 a78fd4e915 changed uint to u32
8 years ago
jsteube 9413ed8f56 Centralize hashcat_ctx memory allocation and deallocation
8 years ago
jsteube d696a57f2c Use ADL_PTR * instead of void * if possible
8 years ago
jsteube af1701c765 Fix some memleaks on shutdown
8 years ago
jsteube d2877b95e4 Automatically disable most features in case -I is used
8 years ago
jsteube 9f98f6d0d8 Make hwmon support modular
8 years ago
jsteube 8034fb31b8 Make bitmaps, cracks-per-time and debugfile support modular
8 years ago
jsteube c53de67cd4 Remove some unneeded mutex
8 years ago
jsteube 9f61fb3024 Make hm_adapters_* attributes local ones
8 years ago
jsteube ee30055401 Get rid of data. global variable in wordlist.c
8 years ago
jsteube 7191780296 Make use of hwmon_ctx_t
8 years ago
jsteube 81bc9081ad Prepare hwmon_ctx_t, not used yet
8 years ago
jsteube 94680cb311 Move hardware_power_all, kernel_power_all and kernel_power_final to opencl_ctx_t
8 years ago
jsteube 2215174c2e Replace "#if defined (HAVE_HWMON)" with "user_options->powertune_enable = false" which give a more easy to read sourcecode
8 years ago
jsteube 3adbf3d0d5 Move global mux_dispatcher variable into opencl_ctx_t
8 years ago
jsteube a0f6ed6832 Introduce hashes_t; not finishe yet
8 years ago
jsteube 7ce2f2ff19 Introduce opencl_ctx_t; not finished yet
8 years ago
jsteube bc75ba70a1 Move tons of functions from hashcat.c into hash_management, interface, opencl, restore, status and weak_hash sources
8 years ago
jsteube 376e12efe6 Move debugfile related stuff to debugfile.c
8 years ago
jsteube bd5bc294e6 Move loopback related stuff to loopback.c
8 years ago
jsteube 3daf0af480 Added docs/credits.txt
8 years ago
jsteube b7906f6b93 Move outfile specific functions into their own source file
8 years ago
jsteube 63b47eebc9 Prepare move potfile specific functions into their own source file
8 years ago
jsteube 26172af89d Introduce hashconfig_t
8 years ago
jsteube 6aee697112 Cleanup some macro values
8 years ago
jsteube 51a059a606 Move status specific functions into their own source file
8 years ago
jsteube 9eb47153d4 Replace all #ifdef with #if defined (...) for convention
8 years ago
jsteube a56855e355 Move restore specific functions into their own source file
8 years ago
jsteube 25726e4f4e Remove some (hopefully) redundant macros and compiler options
8 years ago
jsteube 8dd57b715b Create real opencl.c to better distinguish between opencl helper functions and library handling functions
8 years ago
Gabriele 'matrix' Gristina b0c6eee06c Fix multiple build issues with OSX
8 years ago
jsteube 3ed4bfd237 Move tuningdb specific functions into their own source file
8 years ago
jsteube 1902e6c2eb Create real cpu_crc32.c and rp_cpu.c
8 years ago
jsteube 21666f77b7 Move maskprocessor and statusprocessor specific functions into their own source file
8 years ago
jsteube d15ae38723 Move hwmon specific functions into their own source file
8 years ago