mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
15 lines
289 B
C
15 lines
289 B
C
#include <stdlib.h>
|
|
|
|
static void func1(char *pointer)
|
|
{
|
|
__attribute__((unused)) int dummy = 0;
|
|
return;
|
|
} /* Line 7 x86-64*/
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
func1((char *)malloc(64)); /* Line 11 */
|
|
|
|
return 0;
|
|
} /* Line 14 x86 due to timing of stack invalidation */
|