[all-commits] [llvm/llvm-project] a13f03: [clang][Interp] Check one-past-the-end pointers in...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Tue Sep 5 02:01:43 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a13f036949b05e5f9d1ac1e33fed465c939aca62
https://github.com/llvm/llvm-project/commit/a13f036949b05e5f9d1ac1e33fed465c939aca62
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-09-05 (Tue, 05 Sep 2023)
Changed paths:
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Check one-past-the-end pointers in GetPtrField
Rename CheckBaseDerived to something more general and call it in
GetPtrField() as well, so we don't crash later in Pointer::toAPValue().
Differential Revision: https://reviews.llvm.org/D149149
More information about the All-commits
mailing list