Home | History | Annotate | Download | only in memcheck

Lines Matching refs:extra

454    MC_Error* extra = VG_(get_error_extra)(err);
480 extra->Err.Value.szB );
482 if (extra->Err.Value.origin_ec)
483 mc_pp_origin( extra->Err.Value.origin_ec,
484 extra->Err.Value.otag & 3 );
486 /* Could also show extra->Err.Cond.otag if debugging origin
489 extra->Err.Value.szB );
491 if (extra->Err.Value.origin_ec)
492 mc_pp_origin( extra->Err.Value.origin_ec,
493 extra->Err.Value.otag & 3 );
504 if (extra->Err.Cond.origin_ec)
505 mc_pp_origin( extra->Err.Cond.origin_ec,
506 extra->Err.Cond.otag & 3 );
508 /* Could also show extra->Err.Cond.otag if debugging origin
513 if (extra->Err.Cond.origin_ec)
514 mc_pp_origin( extra->Err.Cond.origin_ec,
515 extra->Err.Cond.otag & 3 );
527 if (extra->Err.RegParam.origin_ec)
528 mc_pp_origin( extra->Err.RegParam.origin_ec,
529 extra->Err.RegParam.otag & 3 );
534 if (extra->Err.RegParam.origin_ec)
535 mc_pp_origin( extra->Err.RegParam.origin_ec,
536 extra->Err.RegParam.otag & 3 );
541 if (!extra->Err.MemParam.isAddrErr)
547 extra->Err.MemParam.isAddrErr
551 &extra->Err.MemParam.ai, False);
552 if (extra->Err.MemParam.origin_ec
553 && !extra->Err.MemParam.isAddrErr)
554 mc_pp_origin( extra->Err.MemParam.origin_ec,
555 extra->Err.MemParam.otag & 3 );
559 extra->Err.MemParam.isAddrErr
563 &extra->Err.MemParam.ai, False);
564 if (extra->Err.MemParam.origin_ec
565 && !extra->Err.MemParam.isAddrErr)
566 mc_pp_origin( extra->Err.MemParam.origin_ec,
567 extra->Err.MemParam.otag & 3 );
572 if (!extra->Err.User.isAddrErr)
578 extra->Err.User.isAddrErr
581 mc_pp_AddrInfo(VG_(get_error_address)(err), &extra->Err.User.ai,
583 if (extra->Err.User.origin_ec && !extra->Err.User.isAddrErr)
584 mc_pp_origin( extra->Err.User.origin_ec,
585 extra->Err.User.otag & 3 );
588 extra->Err.User.isAddrErr
591 mc_pp_AddrInfo(VG_(get_error_address)(err), &extra->Err.User.ai,
593 if (extra->Err.User.origin_ec && !extra->Err.User.isAddrErr)
594 mc_pp_origin( extra->Err.User.origin_ec,
595 extra->Err.User.otag & 3 );
606 &extra->Err.Free.ai, False );
611 &extra->Err.Free.ai, False );
621 &extra->Err.FreeMismatch.ai, False);
626 &extra->Err.FreeMismatch.ai, False);
633 extra->Err.Addr.isWrite ? "Write" : "Read" );
635 extra->Err.Addr.isWrite ? "write" : "read",
636 extra->Err.Addr.szB );
639 &extra->Err.Addr.ai,
640 extra->Err.Addr.maybe_gcc );
643 extra->Err.Addr.isWrite ? "write" : "read",
644 extra->Err.Addr.szB );
648 &extra->Err.Addr.ai,
649 extra->Err.Addr.maybe_gcc );
659 mc_pp_AddrInfo( VG_(get_error_address)(err), &extra->Err.Jump.ai,
664 mc_pp_AddrInfo( VG_(get_error_address)(err), &extra->Err.Jump.ai,
672 if (extra->Err.Overlap.szB == 0) {
676 extra->Err.Overlap.dst, extra->Err.Overlap.src );
681 extra->Err.Overlap.dst, extra->Err.Overlap.src,
682 extra->Err.Overlap.szB );
686 if (extra->Err.Overlap.szB == 0) {
689 extra->Err.Overlap.dst, extra->Err.Overlap.src );
693 extra->Err.Overlap.dst, extra->Err.Overlap.src,
694 extra->Err.Overlap.szB );
708 &extra->Err.IllegalMempool.ai, False );
713 &extra->Err.IllegalMempool.ai, False );
718 UInt n_this_record = extra->Err.Leak.n_this_record;
719 UInt n_total_records = extra->Err.Leak.n_total_records;
720 LossRecord* lr = extra->Err.Leak.lr;
857 MC_Error extra;
873 extra.Err.Addr.isWrite = isWrite;
874 extra.Err.Addr.szB = szB;
875 extra.Err.Addr.maybe_gcc = just_below_esp;
876 extra.Err.Addr.ai.tag = Addr_Undescribed;
877 VG_(maybe_record_error)( tid, Err_Addr, a, /*s*/NULL, &extra );
882 MC_Error extra;
886 extra.Err.Value.szB = szB;
887 extra.Err.Value.otag = otag;
888 extra.Err.Value.origin_ec = NULL; /* Filled in later */
889 VG_(maybe_record_error)( tid, Err_Value, /*addr*/0, /*s*/NULL, &extra );
894 MC_Error extra;
898 extra.Err.Cond.otag = otag;
899 extra.Err.Cond.origin_ec = NULL; /* Filled in later */
900 VG_(maybe_record_error)( tid, Err_Cond, /*addr*/0, /*s*/NULL, &extra );
908 VG_(maybe_record_error)( tid, Err_CoreMem, /*addr*/0, msg, /*extra*/NULL );
913 MC_Error extra;
917 extra.Err.RegParam.otag = otag;
918 extra.Err.RegParam.origin_ec = NULL; /* Filled in later */
919 VG_(maybe_record_error)( tid, Err_RegParam, /*addr*/0, msg, &extra );
925 MC_Error extra;
933 extra.Err.MemParam.isAddrErr = isAddrErr;
934 extra.Err.MemParam.ai.tag = Addr_Undescribed;
935 extra.Err.MemParam.otag = otag;
936 extra.Err.MemParam.origin_ec = NULL; /* Filled in later */
937 VG_(maybe_record_error)( tid, Err_MemParam, a, msg, &extra );
942 MC_Error extra;
944 extra.Err.Jump.ai.tag = Addr_Undescribed;
945 VG_(maybe_record_error)( tid, Err_Jump, a, /*s*/NULL, &extra );
950 MC_Error extra;
952 extra.Err.Free.ai.tag = Addr_Undescribed;
953 VG_(maybe_record_error)( tid, Err_Free, a, /*s*/NULL, &extra );
958 MC_Error extra;
959 AddrInfo* ai = &extra.Err.FreeMismatch.ai;
968 &extra );
973 MC_Error extra;
975 extra.Err.IllegalMempool.ai.tag = Addr_Undescribed;
976 VG_(maybe_record_error)( tid, Err_IllegalMempool, a, /*s*/NULL, &extra );
982 MC_Error extra;
984 extra.Err.Overlap.src = src;
985 extra.Err.Overlap.dst = dst;
986 extra.Err.Overlap.szB = szB;
988 tid, Err_Overlap, /*addr*/0, /*s*/function, &extra );
995 MC_Error extra;
996 extra.Err.Leak.n_this_record = n_this_record;
997 extra.Err.Leak.n_total_records = n_total_records;
998 extra.Err.Leak.lr = lr;
1000 VG_(unique_error) ( tid, Err_Leak, /*Addr*/0, /*s*/NULL, &extra,
1008 MC_Error extra;
1017 extra.Err.User.isAddrErr = isAddrErr;
1018 extra.Err.User.ai.tag = Addr_Undescribed;
1019 extra.Err.User.otag = otag;
1020 extra.Err.User.origin_ec = NULL; /* Filled in later */
1021 VG_(maybe_record_error)( tid, Err_User, a, /*s*/NULL, &extra );
1253 MC_Error* extra = VG_(get_error_extra)(err);
1263 // shown with VG_(unique_error)() so they 'extra' not copied. But
1272 update_origin( &extra->Err.Value.origin_ec,
1273 extra->Err.Value.otag );
1276 update_origin( &extra->Err.Cond.origin_ec,
1277 extra->Err.Cond.otag );
1280 update_origin( &extra->Err.RegParam.origin_ec,
1281 extra->Err.RegParam.otag );
1287 &extra->Err.Addr.ai );
1291 &extra->Err.MemParam.ai );
1292 update_origin( &extra->Err.MemParam.origin_ec,
1293 extra->Err.MemParam.otag );
1297 &extra->Err.Jump.ai );
1301 &extra->Err.User.ai );
1302 update_origin( &extra->Err.User.origin_ec,
1303 extra->Err.User.otag );
1307 &extra->Err.Free.ai );
1311 &extra->Err.IllegalMempool.ai );
1319 tl_assert(extra && Block_Mallocd ==
1320 extra->Err.FreeMismatch.ai.Addr.Block.block_kind);
1322 &extra->Err.FreeMismatch.ai );
1473 MC_Error* extra = VG_(get_error_extra)(err);
1496 return (ekind == Err_Value && extra->Err.Value.szB == su_szB);
1507 return (ekind == Err_Addr && extra->Err.Addr.szB == su_szB);
1512 (ekind == Err_MemParam && extra->Err.MemParam.isAddrErr));
1517 (ekind == Err_MemParam && !extra->Err.MemParam.isAddrErr));
1558 MC_Error* extra = VG_(get_error_extra)(err);
1559 switch ( extra->Err.Addr.szB ) {
1569 MC_Error* extra = VG_(get_error_extra)(err);
1570 switch ( extra->Err.Value.szB ) {