]>
git.saurik.com Git - apple/system_cmds.git/blob - gcore.tproj/dyld.h
cac14096511a4d95562caaae14c985abcf087b0d
2 * Copyright (c) 2016 Apple Inc. All rights reserved.
8 #include <mach-o/dyld_images.h>
9 #include <mach-o/dyld_process_info.h>
10 #include <uuid/uuid.h>
16 const char *le_filename
; // (points into le_pathname!)
19 uint64_t le_mhaddr
; // address in target process
20 const native_mach_header_t
*le_mh
; // cached copy in this address space
23 extern const struct libent
*libent_lookup_byuuid(const uuid_t
);
24 extern const struct libent
*libent_lookup_first_bytype(uint32_t);
25 extern const struct libent
*libent_insert(const char *, const uuid_t
, uint64_t, const native_mach_header_t
*);
26 extern bool libent_build_nametable(task_t
, dyld_process_info
);
28 extern dyld_process_info
get_task_dyld_info(task_t
);
29 extern bool get_sc_uuid(dyld_process_info
, uuid_t
);
30 extern void free_task_dyld_info(dyld_process_info
);