#include <stdio.h>
#include <pthread.h>
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "proxmark3.h"
#include "cmdhfmfhard.h"
#include "hardnested_bf_core.h"
return true;
}
-
-static void* crack_states_thread(void* x){
+static void*
+#ifdef __has_attribute
+#if __has_attribute(force_align_arg_pointer)
+__attribute__((force_align_arg_pointer))
+#endif
+#endif
+crack_states_thread(void* x){
struct arg {
bool silent;