Static code inspection guided fixes for the following issues:
- dead code
- buffer not null-terminated
- null-dereference
- out-of-bounds access
Differential D131554
[LLDB][NFC] Reliability fixes for ObjectFileMachO.cpp fixathon on Aug 10 2022, 2:59 AM. Authored by
Details Static code inspection guided fixes for the following issues:
Diff Detail
Event TimelineComment Actions Added inline comments to clarify the fixes. Specifically need feedback on the null-termination of strings since it seems possible this may not be needed based on existing comments.
Comment Actions Looks good to me with a few suggestions inlined.
Comment Actions LGTM. fwiw it's nul-terminated ("NUL" being the '\0' character), not null-terminated ((void*)0). i don't really care, but nb.
Comment Actions Replied to comments, and adding the suggested modifications in https://reviews.llvm.org/D131743 because this diff has already been pushed. |
'constraining'