Rosen Penev
cdd92f6de6
Fix MinGW printf formats
...
Based on various compilation flags, MinGW uses either gnu_printf or
printf (really ms_printf) internally which confuses the compiler when
encountering gnu formats. OTOH, clang under MinGW does not support
gnu_printf.
Just use the macro to handle this mess.
Also remove macro that was originally used to work around this. It's
wrong and should not be used.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-02-28 18:06:04 -08:00
jsteube
6ee2658104
Prefix more macros to avoid collisions in other existing libraries
2023-01-30 14:41:12 +00:00
jsteube
f1ff925b6e
Prepare rename macros in header files from _MACRO to MACRO
2023-01-17 19:25:40 +00: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
9568837b12
Revert "Replace PRIu64 with ju. Less verbose."
2017-10-20 12:19:33 +02:00
Rosen Penev
869b5fb522
Replace PRIu64 with ju. Less verbose.
2017-10-19 19:35:18 -07:00
jsteube
a048bdc02c
Fix some variable names in hashcat.log
2016-11-22 18:39:02 +01:00
jsteube
3442892fda
Use __attribute__ ((format (printf, 2, 3))) to help compiler to identify format strings
2016-10-31 09:19:37 +01:00
jsteube
52068e25d5
Add some additional start-up checks
2016-10-06 17:26:15 +02:00
jsteube
000534cdbc
Update logfile.c function parameters
2016-10-06 16:25:24 +02:00
jsteube
0a330d4335
Rewrote logfile handling from scratch
2016-09-23 21:41:05 +02:00
jsteube
479e93ae7d
Get rid of logfile_disable variable in data. context
2016-09-22 15:30:21 +02:00
jsteube
e6f083b708
Add all defaults for user commandline parameters to user_options.h; Prepare user commandline parameter struct for easier handling of functions calls that require them
2016-09-20 16:04:22 +02:00
jsteube
3daf0af480
Added docs/credits.txt
...
Added docs/team.txt
2016-09-11 22:20:15 +02:00
jsteube
7f1ecc7cb7
Use hashcat.c configuration macros to get an idea of the remaining features which should move into their own source file
2016-09-11 10:28:59 +02:00
jsteube
15a7a42252
Move more logfile specific functions to logfile.h
2016-09-08 16:37:39 +02:00
jsteube
e4bf86dcbe
Replace #pragma once with #ifndef #define #endif logic because #pragma once does not work cleanly on OSX
2016-09-06 18:44:05 +02:00
jsteube
5dd5c15966
Move tty_*() specific functions into their own source file
2016-09-06 13:16:38 +02:00