Guest User

Untitled

a guest
Sep 14th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. // Getting list of linked libraries
  2. uint32_t imageCount = _dyld_image_count();
  3. char **names = calloc(sizeof(char *), imageCount);
  4. for (uint32_t idx = 0; idx < imageCount; idx++)
  5. {
  6. names[idx] = (char *)_dyld_get_image_name(idx);
  7. }
Add Comment
Please, Sign In to add comment