diff --git a/include/unresolved.h b/include/unresolved.h index 49c5d620cf4508ca093cee7f015d38a8e66a09b3..a7e89d381867e1f6fd302e2e487a225cdf7130b7 100644 --- a/include/unresolved.h +++ b/include/unresolved.h @@ -72,7 +72,7 @@ class UnresolvedPinned_t : public UnresolvedInfo_t { public: UnresolvedPinned_t(libIRDB::Instruction_t* p_from) : from_instruction(p_from), m_range(0,0), m_updated_address(0) {} - UnresolvedPinned_t(libIRDB::Instruction_t* p_from, Range_t range) : from_instruction(p_from), m_range(range) {} + UnresolvedPinned_t(libIRDB::Instruction_t* p_from, Range_t range) : from_instruction(p_from), m_range(range), m_updated_address(0) {} libIRDB::Instruction_t* GetInstruction() const { return from_instruction; } /* diff --git a/src/zipr.cpp b/src/zipr.cpp index d2442fc0fdebfb26aec5ec7f91aa0521058f49f7..b36f54add31ff31afd0a1f3817adff4b9311862a 100644 --- a/src/zipr.cpp +++ b/src/zipr.cpp @@ -353,7 +353,9 @@ void Zipr_t::OptimizePinnedFallthroughs() ft_ibta->GetVirtualOffset()) { if (m_opts.GetVerbose()) - printf("Emitting pinned instruction with pinned fallthrough next.\n"); + printf("Emitting pinned instruction (0x%p) " + "with pinned fallthrough next.\n", + (void*)up_ibta->GetVirtualOffset()); m_stats->Hit(Optimizations_t::OptimizationFallthroughPinned); /*