blazesym 0.2.4

blazesym is a library for address symbolization and related tasks.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef UTIL_H
#define UTIL_H

#include <dlfcn.h>
#include <stdio.h>


static void close_so(void **handle) {
  int rc;
  rc = dlclose(*handle);
  if (rc != 0) {
    fprintf(stderr, "warning: failed to dlclose: %s\n", dlerror());
  }
}

#endif /* UTIL_H */