dlopen
load dynamic lib several times into multiple independent scopes
I want to dynamically load a library multiple times into independent scopes, so that each instance has its own memory. Is that possible?[详细]
2023-04-01 18:09 分类:问答Data Formatters temporarily unavailable, will re-try after a 'continue'. (Not safe to call dlopen at this time.) for popupbutton
#00x7fff8102a70e in flush_cache #10x7fff81030605 in flushCaches #20x7fff8103293c in remethodizeClass #30x7fff8102372c in _read_images[详细]
2023-03-31 21:50 分类:问答SIMBL plugin fails to load framework
On console, I am getting these errors: 27.08.11 20:56:06,371 sandboxd: ([83008]) TextEdit(83008) deny file-read-data /Users/az/Library/Frameworks/FScript.framework/Versions/A/FScript[详细]
2023-03-31 18:30 分类:问答How do i call an external function?
I have code i\'m trying to write, I have a void function, info. void info(char *,char *); This, I\'m trying to call from my main function in a separate file. I want to use dlopen to open a so file[详细]
2023-03-31 15:02 分类:问答Does RTLD_FIRST on mac do the job of RTLD_DEEP_BIND on linux?
My understanding of RTLD_DEEP_BIND on linux is that if you have a function A() in your main program, and two functions A() and B() in a dynamically linked library (call it lib) where B is defined as:[详细]
2023-03-31 12:39 分类:问答Ld magically overrides statically linked symbols
For a few days we are dealing with very strange problem. I can\'t understand how it even happens - when a third-party (MATLAB) program uses our shared library, it somehow overrides some of our symbol[详细]
2023-03-31 11:52 分类:问答Using objects of an app from shared object
I\'m a little confused right now. Yesterday I had undefined symbols even if I used -rdynamic with g++. But now I don\'t have any error and that is even more disturbing.[详细]
2023-03-29 17:05 分类:问答dlopen and shared objects 'pointers'
Is it possible to successfully call dlopen() on a shared object that \'points\' to another shared object? For example, I\'d like to dynamically open the library /usr/lib/libpanel.so. However, it is no[详细]
2023-03-29 11:47 分类:问答Using dlopen to get handle of libc memory allocation functions
Can someone help me to know how can i use dlopen to get handle of libc memory allocation functions? Especially, something like searching the libc path and then taking the handle. What modes should be[详细]
2023-03-23 09:19 分类:问答Embed perl in C question
I\'ve an application, which is made up of quite a number of shared libraries. I\'ve written perl extensions to some of them. Also, I\'ve embedded perl into the application.[详细]
2023-03-22 18:07 分类:问答