#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"
}
-static void* crack_states_thread(void* x){
+static void* __attribute__((force_align_arg_pointer)) crack_states_thread(void* x){
struct arg {
bool silent;