aboutsummaryrefslogtreecommitdiff
path: root/testdll.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move cmake targets into sub directoriesRalf Habacker2020-09-141-47/+0
|
* Relicense to MITRamiro Polla2020-08-301-11/+15
| | | | | | The licensing note in the configure script has been reworked, similarly to how libvpx did it (they were also based on FFmpeg's configure script and also use a more permissive license).
* Implement support for dlsym() with RTLD_DEFAULT and RTLD_NEXTPali Rohár2019-02-141-0/+6
| | | | | | | | | | | | | | | | | | | dlsym() with RTLD_DEFAULT handle behaves in same way like with global handle returned by dlopen() with NULL file name. dlsym() with RTLD_NEXT handle search for next loaded module which provides specified symbol. "Next" means module which in EnumProcessModules() result after the module which called dlsym(). To get caller function of dlsym() use _ReturnAddress() intrinsic. To get module where is caller function use the fact that HMODULE is the same value as the module's base address. When compiling under gcc, defines _ReturnAddress() macro via gcc's builtin as it does not provide MSC's specific _ReturnAddress() intrinsic. Added tests demonstrate that both RTLD_DEFAULT and RTLD_NEXT are working as expected.
* Check for memory leak when _DEBUG is definedTimothy Gu2015-03-151-0/+5
|
* Fix test DLL exportTimothy Gu2014-08-171-1/+7
| | | | | | Fixes issue 16. Patch by Nathan Rajlich <nathan@tootallnate.net>
* License stuffTimothy Gu2014-02-101-3/+3
|
* Initial RevisionRamiro Polla2007-06-281-0/+26