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 clear; tmux clear-history || true; cargo build && target/debug/vestal bin/hello-msg.exe 2>&1
hello-v: hello-v:
clear; tmux clear-history || true; cargo build && target/debug/vestal -v bin/hello-msg.exe 2>&1 clear; tmux clear-history || true; cargo build && target/debug/vestal -v bin/hello-msg.exe 2>&1
kotel: vst:
clear; tmux clear-history || true; cargo build && target/debug/vestal bin/kotel.dll 2>&1 clear; tmux clear-history || true; cargo build && target/debug/vestal bin/vst.dll 2>&1
kotel-v: vst-v:
clear; tmux clear-history || true; cargo build && target/debug/vestal -v bin/kotel.dll 2>&1 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 // Descend on CALL/JMP
if CallSite::matches(&instruction) && !CallSite::skip(opcodes) { if CallSite::matches(&instruction) && !CallSite::skip(opcodes) {
let call_site = self.call_site(start + position, 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); Log::call_site(self.verbose && !group, &call_site, Some(opcodes), recurse);
} //}
self.load_call_site(&call_site); self.load_call_site(&call_site);
if let Some(depth) = recurse { if let Some(depth) = recurse {
self.load_call_site_recurse(&call_site, depth)?; self.load_call_site_recurse(&call_site, depth)?;