[PATCH] D97789: [dfsan] Propagate origin tracking at store
George Balatsouras via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 3 15:20:17 PST 2021
gbalats added inline comments.
================
Comment at: llvm/test/Instrumentation/DataFlowSanitizer/origin_ldst.ll:306
+ ; CHECK: [[INTP:%.*]] = ptrtoint {{.*}} %p to i64
+ ; CHECK: [[OFFSET:%.*]] = and i64 [[INTP]], -123145302310913
+ ; CHECK: [[ORIGIN_OFFSET:%.*]] = add i64 [[OFFSET]], 35184372088832
----------------
Do these have to be exact? If we abstract them to `[[#ADDR]]` it will be easier to support fast8 later or other layout changes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97789/new/
https://reviews.llvm.org/D97789
More information about the llvm-commits
mailing list