diff options
| author | Greg McGary <gkm@fb.com> | 2021-02-26 23:28:52 -0800 |
|---|---|---|
| committer | Greg McGary <gkm@fb.com> | 2021-02-27 14:41:40 -0800 |
| commit | 0223ab035c199e537a0040857ba147ced87fd533 (patch) | |
| tree | b93dfb2c17413c1edeefd750b992e39120f7b33d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | e0b1df924ae06d6d88582334087d2eacc6702e8f (diff) | |
[lld-macho] check minimum header length when opening linkable input files
Bifurcate the `readFile()` API into ...
* `readRawFile()` which performs no checks, and
* `readLinkableFile()` which enforces minimum length of 20 bytes, same as ld64
There are no new tests because tweaks to existing tests are sufficient.
Differential Revision: https://reviews.llvm.org/D97610
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
