Re: Strict aliasing and pointers to functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- av1474@xxxxxxxx wrote:

>          printf ("dummy is %p\n", __extension__ (void *) &dummy);
>          *(void **) (char **) (void *) &funcs.dummy = dlsym (NULL, "dummy");

Shouldn't you be calling dlopen() first?

Regards,
Amit Choudhary


 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux