Skip to content

Commit

Permalink
[FEATURE] List PIN threadID before each disasm line
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Aug 24, 2024
1 parent 888c538 commit 0c1a0fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TinyTracer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,8 @@ VOID LogInstruction(const CONTEXT* ctxt, THREADID tid, VOID *str)
}
if (base != UNKNOWN_ADDR && rva != UNKNOWN_ADDR) {
std::stringstream ss;
ss << strPtr->c_str();
ss << "[" << tid << "] ";
ss << (*strPtr);
if (!base && rva == m_Settings.disasmStart) {
ss << " # disasm start";
}
Expand Down

0 comments on commit 0c1a0fd

Please sign in to comment.