mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-21 13:51:18 +00:00
several code cleanups: avoid #if in macro parameters
avoid arithmetic with void pointers (undefined behaviour) avoid some shadowed variables
This commit is contained in:
@ -28,6 +28,7 @@ void detect_file_args(char** argv, u8* prog_in) {
|
||||
cwd = getcwd(buf, (size_t)size); /* portable version */
|
||||
} else {
|
||||
PFATAL("getcwd() failed");
|
||||
cwd = 0; /* for dumb compilers */
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user