Mercurial > hg > CbC > CbC_examples
view bug.c @ 17:a4f44624a253
asm longjmp (can return correct address but return value is wrong)
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 24 Jan 2016 06:01:43 +0900 |
parents | ba74047a4d78 |
children |
line wrap: on
line source
#include<stdio.h> typedef void (*atexit_callback)(void); typedef void (*cxa_atexit_callback)(void *); struct one_atexit_routine { int callback; }; static int atexit_common (const struct one_atexit_routine *r, const void *dso) { return 0; } int main(){ printf("hello\n"); }