view symbol-c.c @ 5:709cdf828033

update tags
author convert-repo
date Mon, 08 Dec 2008 19:26:11 +0000
parents daa6a4e92480
children
line wrap: on
line source

extern int printf(char*,...);
void test_func(){
}
unsigned long addrs[]={
     (unsigned long)test_func,
     0,
};
int main()
{
     int i;
     for(i=0;addrs[i]>0;i++) printf("%lx\n",addrs[i]);
     printf("%lx\n",(unsigned long)test_func);
     return(0);
}