[all-commits] [llvm/llvm-project] ced547: [BOLT][NFC] Check section contents before register...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue Mar 8 09:13:27 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ced5472e09b4abe4f8be863592609ee6bbebf8b2
      https://github.com/llvm/llvm-project/commit/ced5472e09b4abe4f8be863592609ee6bbebf8b2
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M bolt/include/bolt/Rewrite/RewriteInstance.h
    M bolt/lib/Rewrite/RewriteInstance.cpp

  Log Message:
  -----------
  [BOLT][NFC] Check section contents before registering it

Address fuzzer crash on malformed input:
```
BOLT-ERROR: cannot get section contents for .dynsym: The end of the file was unexpectedly encountered.
```

Reviewed By: rafauler

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




More information about the All-commits mailing list