[all-commits] [llvm/llvm-project] 5511bf: [hwasan] More realistic setjmp test.

Florian Mayer via All-commits all-commits at lists.llvm.org
Fri Jul 9 12:27:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5511bfdb671505c1e7968ab8ef6032414bba3852
      https://github.com/llvm/llvm-project/commit/5511bfdb671505c1e7968ab8ef6032414bba3852
  Author: Florian Mayer <fmayer at google.com>
  Date:   2021-07-09 (Fri, 09 Jul 2021)

  Changed paths:
    M compiler-rt/test/hwasan/TestCases/longjmp.c

  Log Message:
  -----------
  [hwasan] More realistic setjmp test.

The existing one actually failed on the int* p, not on int z (as can be
seen by the fault being 8 bytes rather than 4).

This is also needed to make sure the stack safety analysis does not
classify the alloca as safe.

Reviewed By: hctim

Differential Revision: https://reviews.llvm.org/D105705




More information about the All-commits mailing list