jsteube
e63bc4d328
Query PCI-Express bus/device/function and store for later use
8 years ago
jsteube
42bcb8bdc8
Revert "Testwise commit, this could be a problem but never actually created a problem. Need to keep an eye on it"
...
This reverts commit 96e963b0d0
.
8 years ago
jsteube
96e963b0d0
Testwise commit, this could be a problem but never actually created a problem. Need to keep an eye on it
8 years ago
jsteube
93adde9d2f
* Wrap everything related to *stat() into own functions
...
* Testwise remove early includes to stdin for OSX, see if they are still required
8 years ago
jsteube
7eef713ff7
Fix compiler warnings caused by -Wshadow
8 years ago
Jens Steube
25bc960a09
Merge pull request #560 from matrix/fix_string_format
...
Fix string format
8 years ago
Gabriele Gristina
f500727bd8
Fix string format
8 years ago
Gabriele Gristina
6bf5ee95a6
Fix resource leak
8 years ago
jsteube
df8a9ab5e5
Support mixed kernel thread count for mixed kernels in the same source file
...
Get rid of one global kernel_threads variable
Recognize reqd_work_group_size() values from OpenCL kernels and use them in host if possible
Fix some white spaces
Remove unused weak* kernels
Rename hashconfig_enforce_kernel_threads() to hashconfig_get_kernel_threads() - we do not enforce anymore
Rename hashconfig_enforce_kernel_loops() to hashconfig_get_kernel_loops() - we do not enforce anymore
Add some missing checks for --quiet
8 years ago
jsteube
05634fe727
Do not run any caching rounds in autotune in DEBUG mode if -n and -u are specified
8 years ago
jsteube
636d953996
Move out all use of event_log_info() from library code to main.c or terminal.c
8 years ago
jsteube
e26b08f61f
Move opencl_info() to terminal.c
8 years ago
jsteube
001ba8a655
Replace some printf() in opencl.c with event_log_info()
8 years ago
jsteube
5906f1ab54
Fix some format string for 64 bit
8 years ago
jsteube
824654e2fb
Create opencl_ctx_devices_show() as an example for how to access opencl devices from library and as replacement for inlined code for -I
8 years ago
jsteube
e1010ffba1
Prepare library user access to OpenCL device information without running an attack
8 years ago
jsteube
2005f5d193
Remove terminal.h where's it's not needed
8 years ago
jsteube
df521d664b
Move restore_* variables into separate functions for later use in status.c
8 years ago
jsteube
b044271b01
Move more status display calculate logic into separate functions
8 years ago
jsteube
f8a6d156eb
Add some more returncode checks
8 years ago
jsteube
d2bcb19740
Fix some rc check
8 years ago
jsteube
7383bb14f5
Add some more returncode checks
8 years ago
jsteube
694de36694
Print warnings in yellow and errors in red
8 years ago
jsteube
91979bff69
Mark OpenCL devices as listing
8 years ago
jsteube
017555e257
Fix some log levels
8 years ago
jsteube
191269f4f0
Add --speed-only mode
8 years ago
jsteube
ef80e3f074
Some newline fixes
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
20832d29d6
Do not reset innerloop_left and outerloop_left too early so we can access it from status display
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
42677df2a6
Start context-related logging with goal to get rid of logging.c
8 years ago
jsteube
14248d38e3
Update tuning_db.c function parameters
8 years ago
jsteube
a5e83c27c3
Update wordlist.c function parameters
8 years ago
jsteube
a97e31881c
Update interface.c function parameters
8 years ago
jsteube
0579f93402
Update opencl.c and autotune.c function parameters
8 years ago
jsteube
15d2f9b11e
Add some reserved scratch buffer for innerloop combinator instead of reallocating each time
8 years ago
jsteube
c1aba9e314
Reset innerloop_* and outerloop_* variables when no longer needed
8 years ago
jsteube
eeb8210951
Added the current first and last password candidate test queued for execution per device on status view
8 years ago
coolbry95
a78fd4e915
changed uint to u32
8 years ago
jsteube
d80653b014
Fix some clSetKernelArg() size error that caused slow modes to not work anymore in -a 1 mode
8 years ago
jsteube
9413ed8f56
Centralize hashcat_ctx memory allocation and deallocation
8 years ago
jsteube
743dba56db
Replaced timer macros with inlines
8 years ago
jsteube
fb3e6bab0d
Finished refactoring to remove all global variables
8 years ago
jsteube
ae0300dabb
Rename kernel read and write function and make them static
8 years ago
jsteube
af1701c765
Fix some memleaks on shutdown
8 years ago
jsteube
6bc0d94f56
Make opencl support modular
8 years ago
jsteube
a5800b41f4
Rename hash_management.c to hashes.c
8 years ago
jsteube
ed571a3ec8
Remove unneeded includes
8 years ago
jsteube
c53de67cd4
Remove some unneeded mutex
8 years ago
jsteube
133c9295f5
Cleaned up data_t, only contexts left
8 years ago
jsteube
12a2d6d2a0
Move more stuff to status_ctx_t
8 years ago
jsteube
831ef1490b
Prepare status_ctx_t
8 years ago
jsteube
84f96c4dda
Add cpt_ctx_t
8 years ago
jsteube
e12abeb9de
Add inner2_loop()
8 years ago
jsteube
1cf4b2a093
Fix a bug on CPU-only systems
8 years ago
jsteube
7191780296
Make use of hwmon_ctx_t
8 years ago
coolbry95
ac1792f943
change id numbers to add one to be consistent with the rest of hashcat output
8 years ago
jsteube
f8d538413e
Move pw_min and pw_max to hashconfig_t and bring back data.shutdown_*
8 years ago
jsteube
c3338f0a9a
Fix -m 8900 bug
8 years ago
jsteube
94680cb311
Move hardware_power_all, kernel_power_all and kernel_power_final to opencl_ctx_t
8 years ago
jsteube
48917b5843
Move tmp size and hook size to hashconfig_init()
8 years ago
jsteube
ce02b3c54f
Add hashconfig_enforce_kernel_loops ()
8 years ago
jsteube
47f027d249
Created hashconfig_kernel_thread_force()
8 years ago
jsteube
c71f1bfb0c
Introduct combinator_ctx_t
8 years ago
jsteube
8dea3d2eb9
Fix optimizers values in kernel_params_mp_*
8 years ago
jsteube
67dd2e9b67
Separate rules and straight mode from each other, remove rules_ctx_t
8 years ago
jsteube
edd50de047
Add opencl_session_update_mp() and opencl_session_update_mp_rl()
8 years ago
jsteube
eeccb01998
Add opencl_ctx_devices_reset()
8 years ago
jsteube
69ad06ec12
Fix some casts
8 years ago
jsteube
75682a5008
Get rid of local_free() and global_free(), no longer required
8 years ago
jsteube
54a4ea3db2
Large but needed refactoring of mask handling, maskfiles, default mask, etc., expect smaller bugs
8 years ago
jsteube
59ebe10b07
Move functions from filenames.c to opencl.c and shared.c
8 years ago
jsteube
3279607a4e
Some better newline handling
8 years ago
jsteube
6fef4a53fb
Add goodbye_screen()
8 years ago
jsteube
62b97a6fe6
Move loading rules into outer loop
8 years ago
jsteube
8c6907a3d7
Move force_jit_compilation initialization to opencl_session_begin() as it depends on hash_mode
8 years ago
jsteube
ca48c49575
Move OpenCL device initialization to outer loop
8 years ago
jsteube
1e2869e8bd
Fix benchmark unwanted exit with long running kernels
8 years ago
jsteube
b6f966970b
Move all bitmap related host code into bitmap.c
8 years ago
jsteube
f9ec232b9b
Get rid of attack_kern variable in data. context
8 years ago
jsteube
f1d93d576a
Get rid of attack_mode variable in data. context
8 years ago
jsteube
3da185a3c8
Get rid of wordlist_mode variable in data. context
8 years ago
jsteube
5b0835258c
Get rid of hex_wordlist variable in data. context
8 years ago
jsteube
21d852b194
Get rid of benchmark variable in data. context
8 years ago
jsteube
e4b4855fbd
Get rid of status* variables in data. context
8 years ago
jsteube
1c9027cb03
Get rid of rule_buf_l, rule_buf_r, rule_len_l and rule_len_r in data. context
8 years ago
jsteube
458d6b37f9
Fix benchmark crashing
8 years ago
jsteube
1cc4358820
Introduce folder_config_t
8 years ago
jsteube
c008b11de3
Make more use of new user_options_t*
8 years ago
jsteube
ced3b3b82f
Move global mux_counter variable into opencl_ctx_t
8 years ago
jsteube
3adbf3d0d5
Move global mux_dispatcher variable into opencl_ctx_t
8 years ago
jsteube
9daf139fef
Refactor devices_status to have better thread control
8 years ago
Gabriele Gristina
fdbc44ce6c
Add option for show opencl info and exit
8 years ago
jsteube
caeedd5646
Move more code from hashcat.c to opencl.c related to opencl device initialization and shutdown
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
...
Added docs/team.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
18534fcdeb
Move stdout specific functions into their own source file
8 years ago
jsteube
e3d0cd0bdd
Move more functions out of shared.c
8 years ago
jsteube
80d7dce9b5
Move more functions out of shared.c
8 years ago
jsteube
8dd57b715b
Create real opencl.c to better distinguish between opencl helper functions and library handling functions
8 years ago