forked from OSchip/llvm-project
bd2044c108
llvm::codeview::visitMemberRecordStream expects to receive an array ref that's FieldListRecord's Data not a CVType's data which has 4 more bytes preceeding. The first 2 bytes indicate the size of the FieldListRecord, and following 2 bytes is always 0x1203. Inside llvm::codeview::visitMemberRecordStream, it iterates to the data to check if first two bytes matching some type record kinds. If the size coincidentally matches one type kind, it will start parsing from there and causing crash. |
||
---|---|---|
.. | ||
ArchiveEmitter.cpp | ||
ArchiveYAML.cpp | ||
CMakeLists.txt | ||
COFFEmitter.cpp | ||
COFFYAML.cpp | ||
CodeViewYAMLDebugSections.cpp | ||
CodeViewYAMLSymbols.cpp | ||
CodeViewYAMLTypeHashing.cpp | ||
CodeViewYAMLTypes.cpp | ||
DWARFEmitter.cpp | ||
DWARFYAML.cpp | ||
DXContainerEmitter.cpp | ||
DXContainerYAML.cpp | ||
ELFEmitter.cpp | ||
ELFYAML.cpp | ||
MachOEmitter.cpp | ||
MachOYAML.cpp | ||
MinidumpEmitter.cpp | ||
MinidumpYAML.cpp | ||
ObjectYAML.cpp | ||
WasmEmitter.cpp | ||
WasmYAML.cpp | ||
XCOFFEmitter.cpp | ||
XCOFFYAML.cpp | ||
YAML.cpp | ||
yaml2obj.cpp |