From 018c956986f0a773c0af1da6c86fdb94737e9d5b Mon Sep 17 00:00:00 2001 From: comex Date: Tue, 20 Jan 2015 19:57:26 -0500 Subject: revert THAT WHOLE THING because we can't actually use it for inject --- lib/darwin/find-syms.h | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 lib/darwin/find-syms.h (limited to 'lib/darwin/find-syms.h') diff --git a/lib/darwin/find-syms.h b/lib/darwin/find-syms.h deleted file mode 100644 index c017d2a..0000000 --- a/lib/darwin/find-syms.h +++ /dev/null @@ -1,14 +0,0 @@ -#pragma once -#include "substitute.h" -#include "substitute-internal.h" - -struct symtab_data { - uint64_t linkedit_vmaddr; - uint32_t linkedit_symoff, nsyms; - uint32_t linkedit_stroff, strsize; -}; - -bool find_symtab_data(const mach_header_x *mh, struct symtab_data *data); -void find_syms_raw(const struct symtab_data *restrict data, void *linkedit, - const char **restrict names, substitute_sym **restrict syms, - size_t count); -- cgit v1.2.3