sym

symdl

symdl is a simple little tool, its function is very similar to dlsym, with symdl, you can pass in the dynamic linked C function name string except 'dlopen' and 'dlsym', get the function pointer, so as to achieve the dynamic call of C function.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

44

Maintenance

Last Commit

10mos ago

Contributors

2

Package

Dependencies

0

License

MIT

Categories

Readme

symdl

symdl is a simple little tool, its function is very similar to dlsym, with symdl, you can pass in the dynamic linked C function name string except 'dlopen' and 'dlsym', get the function pointer, so as to achieve the dynamic call of C function.

Example

#import <symdl/symdl.h>
#import <stdio.h>

int main(){
    FILE *(*my_fopne)(char *, char*)  = symdl("fopen");
    FILE *fp =  my_fopne("your path","w+");
    //do something
    return 0;
}

Installation

CocoaPods

  1. Add pod 'symdl' to your Podfile.
  2. Run pod install or pod update.
  3. Import <symdl/symdl.h>

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100