======= Development Documentation ====== * [[doc:libffi:]] ====== Tools ===== The three usual tools can be used for objects : nm, objdump, readelf. Random examples ... readelf -s /usr/lib/lib.so.XX.x | grep objdump -Dslx /lib/libcap.so.2 | more objdump -x /path/to/file/filename | head -50 Functions / parameters , see post 2-3-4 ===== Call a function from a .so/.dll ===== * dll: [[http://stackoverflow.com/questions/2538103/how-to-call-a-function-from-a-shared-library]] * so: [[http://linux.die.net/man/3/dlsym]] Unter Windows ist eine .dll erforderlich, eventuell libgcc.a hinzulinken? ([[http://stackoverflow.com/questions/2096519/from-mingw-static-library-a-to-visual-studio-static-library-lib]]) * DLLs - Mangling: [[http://www.transmissionzero.co.uk/computing/advanced-mingw-dll-topics/]] * [[http://www.osxentwicklerforum.de/index.php?page=Thread&threadID=14090]]