{
vki_elf_fpregset_t fpu;
struct vki_elf_prstatus prstatus;
+ VG_(memset)(&fpu, 0, sizeof(fpu));
+ VG_(memset)(&prstatus, 0, sizeof(prstatus));
# if defined(VGP_x86_linux) && !defined(VGPV_x86_linux_android)
{
vki_elf_fpxregset_t xfpu;
+ VG_(memset)(&xfpu, 0, sizeof(xfpu));
fill_xfpu(&VG_(threads)[tid], &xfpu);
add_note(notelist, "LINUX", NT_PRXFPREG, &xfpu, sizeof(xfpu));
}
Addr VG_(redir_do_lookup) ( Addr orig, Bool* isWrap )
{
Active* r = VG_(OSetGen_Lookup)(activeSet, &orig);
- if (r == NULL)
+ if (r == NULL) {
+ if (isWrap) *isWrap = False;
return orig;
+ }
vg_assert(r->to_addr != 0);
if (isWrap)
const HChar* const auxwhat_prefix = xml ? " <auxwhat>" : "";
const HChar* const auxwhat_suffix = xml ? "</auxwhat>" : "";
const HChar* const indent = xml ? " " : "";
+
AddrInfo ai;
+ VG_(memset)(&ai, 0, sizeof(ai));
+ ai.akind = eUnknown; // A safe initial value (?)
DiEpoch cur_ep = VG_(current_DiEpoch)();
XArray* /* of HChar */ descr1