mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
chg: https://github.com/Proxmark/proxmark3/pull/558 (@pwpiwi) might solve the mystery crashes.
This commit is contained in:
parent
519cc72966
commit
1965927009
3 changed files with 36 additions and 8 deletions
|
@ -1129,7 +1129,13 @@ static bool timeout(void)
|
|||
}
|
||||
|
||||
|
||||
static void *check_for_BitFlipProperties_thread(void *args)
|
||||
static void
|
||||
#ifdef __has_attribute
|
||||
#if __has_attribute(force_align_arg_pointer)
|
||||
__attribute__((force_align_arg_pointer))
|
||||
#endif
|
||||
#endif
|
||||
*check_for_BitFlipProperties_thread(void *args)
|
||||
{
|
||||
uint8_t first_byte = ((uint8_t *)args)[0];
|
||||
uint8_t last_byte = ((uint8_t *)args)[1];
|
||||
|
@ -1701,7 +1707,6 @@ static bool all_bitflips_match(uint8_t byte, uint32_t state, odd_even_t odd_even
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1879,8 +1884,13 @@ static void init_book_of_work(void)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
static void *generate_candidates_worker_thread(void *args)
|
||||
static void
|
||||
#ifdef __has_attribute
|
||||
#if __has_attribute(force_align_arg_pointer)
|
||||
__attribute__((force_align_arg_pointer))
|
||||
#endif
|
||||
#endif
|
||||
*generate_candidates_worker_thread(void *args)
|
||||
{
|
||||
uint16_t *sum_args = (uint16_t *)args;
|
||||
uint16_t sum_a0 = sums[sum_args[0]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue