log all call sites now that they're filtered

This commit is contained in:
🪞👃🪞 2025-02-24 00:40:11 +02:00
parent 71adf9cec3
commit 88a5f28f9e
2 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@ hello:
clear; tmux clear-history || true; cargo build && target/debug/vestal bin/hello-msg.exe 2>&1
hello-v:
clear; tmux clear-history || true; cargo build && target/debug/vestal -v bin/hello-msg.exe 2>&1
kotel:
clear; tmux clear-history || true; cargo build && target/debug/vestal bin/kotel.dll 2>&1
kotel-v:
clear; tmux clear-history || true; cargo build && target/debug/vestal -v bin/kotel.dll 2>&1
vst:
clear; tmux clear-history || true; cargo build && target/debug/vestal bin/vst.dll 2>&1
vst-v:
clear; tmux clear-history || true; cargo build && target/debug/vestal -v bin/vst.dll 2>&1

View file

@ -44,9 +44,9 @@ impl Module {
// Descend on CALL/JMP
if CallSite::matches(&instruction) && !CallSite::skip(opcodes) {
let call_site = self.call_site(start + position, opcodes)?;
if !self.targets.read().unwrap().contains_key(&call_site.target) {
//if !self.targets.read().unwrap().contains_key(&call_site.target) {
Log::call_site(self.verbose && !group, &call_site, Some(opcodes), recurse);
}
//}
self.load_call_site(&call_site);
if let Some(depth) = recurse {
self.load_call_site_recurse(&call_site, depth)?;