brintos

brintos / llvm-project-archived public Read only

0
0
Text · 234 B · f48f617 Raw
11 lines · c
1#include <dlfcn.h>2#include <assert.h>3 4int main() {5  int i = 0; // break here6  // dlopen the 'other' test executable.7  int h = (int) dlopen("other", RTLD_LAZY);8  assert(h && "dlopen failed?");9  return i; // break after dlopen10}11