From b584de3e8be1af7ea7438cd172b93594d718525d Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Fri, 17 Sep 2021 15:17:18 -0500 Subject: [PATCH] Add TODO for symbol lookup for non-libc symbols --- src/coffi/ffi.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/coffi/ffi.clj b/src/coffi/ffi.clj index b4dd7c8..5af9365 100644 --- a/src/coffi/ffi.clj +++ b/src/coffi/ffi.clj @@ -480,6 +480,7 @@ (defn find-symbol "Gets the [[MemoryAddress]] of a symbol from the loaded libraries." [sym] + ;; TODO(Joshua): Ensure this looks up both in the system, and loaded libraries (see `SymbolLookup#loaderLookup`) (.. (CLinker/systemLookup) (lookup (name sym)) (orElse nil))) (defn- method-type