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>
3 months ago
jsteube
6ee2658104
Prefix more macros to avoid collisions in other existing libraries
1 year ago
jsteube
f1ff925b6e
Prepare rename macros in header files from _MACRO to MACRO
1 year ago
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.
5 years ago
Jens Steube
9568837b12
Revert "Replace PRIu64 with ju. Less verbose."
7 years ago
Rosen Penev
869b5fb522
Replace PRIu64 with ju. Less verbose.
7 years ago
jsteube
a048bdc02c
Fix some variable names in hashcat.log
8 years ago
jsteube
3442892fda
Use __attribute__ ((format (printf, 2, 3))) to help compiler to identify format strings
8 years ago
jsteube
52068e25d5
Add some additional start-up checks
8 years ago
jsteube
000534cdbc
Update logfile.c function parameters
8 years ago
jsteube
0a330d4335
Rewrote logfile handling from scratch
8 years ago
jsteube
479e93ae7d
Get rid of logfile_disable variable in data. context
8 years ago
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
8 years ago
jsteube
3daf0af480
Added docs/credits.txt
...
Added docs/team.txt
8 years ago
jsteube
7f1ecc7cb7
Use hashcat.c configuration macros to get an idea of the remaining features which should move into their own source file
8 years ago
jsteube
15a7a42252
Move more logfile specific functions to logfile.h
8 years ago
jsteube
e4bf86dcbe
Replace #pragma once with #ifndef #define #endif logic because #pragma once does not work cleanly on OSX
8 years ago
jsteube
5dd5c15966
Move tty_*() specific functions into their own source file
8 years ago