[all-commits] [llvm/llvm-project] 595cd4: [lld-macho][nfc]Add bounds on sections and subsect...
Vy Nguyen via All-commits
all-commits at lists.llvm.org
Mon Sep 11 11:19:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 595cd45a6696361c37e9b348adb6dabdc4dfbbe9
https://github.com/llvm/llvm-project/commit/595cd45a6696361c37e9b348adb6dabdc4dfbbe9
Author: Vy Nguyen <vyng at google.com>
Date: 2023-09-11 (Mon, 11 Sep 2023)
Changed paths:
M lld/MachO/Arch/ARM64.cpp
Log Message:
-----------
[lld-macho][nfc]Add bounds on sections and subsections check before attempting to dereferencing iterators.
Runnign some tests with asan built of LLD would throw errors similar to the following:
AddressSanitizer:DEADLYSIGNAL
#0 0x55d8e6da5df7 in operator() /mnt/ssd/repo/lld/llvm-project/lld/MachO/Arch/ARM64.cpp:612
#1 0x55d8e6daa514 in operator() /mnt/ssd/repo/lld/llvm-project/lld/MachO/Arch/ARM64.cpp:650
Differential Revision: https://reviews.llvm.org/D157027
More information about the All-commits
mailing list