llvm-project/llvm/lib/ObjectYAML
Zequan Wu bd2044c108 [CodeView] Call llvm::codeview::visitMemberRecordStream with the deserialized CVType whose kind is FieldListRecord.
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.
2022-06-29 17:18:56 -07:00
..
ArchiveEmitter.cpp
ArchiveYAML.cpp
CMakeLists.txt [ObjectYAML][DX] Support yaml2dxcontainer 2022-06-01 15:34:00 -05:00
COFFEmitter.cpp Don't use Optional::hasValue (NFC) 2022-06-20 20:05:16 -07:00
COFFYAML.cpp [yaml2obj][COFF] Add missing RISCV constants 2022-05-12 13:58:39 -07:00
CodeViewYAMLDebugSections.cpp
CodeViewYAMLSymbols.cpp Cleanup LLVMDebugInfoCodeView headers 2022-02-08 16:00:36 +01:00
CodeViewYAMLTypeHashing.cpp
CodeViewYAMLTypes.cpp [CodeView] Call llvm::codeview::visitMemberRecordStream with the deserialized CVType whose kind is FieldListRecord. 2022-06-29 17:18:56 -07:00
DWARFEmitter.cpp [llvm] Use value_or instead of getValueOr (NFC) 2022-06-18 23:07:11 -07:00
DWARFYAML.cpp [llvm] Use value_or instead of getValueOr (NFC) 2022-06-18 23:07:11 -07:00
DXContainerEmitter.cpp Revert "Don't use Optional::hasValue (NFC)" 2022-06-25 11:56:50 -07:00
DXContainerYAML.cpp [NFC] Fix spelling error M->L 2022-06-06 19:38:15 -05:00
ELFEmitter.cpp [Propeller] Encode address offsets of basic blocks relative to the end of the previous basic blocks. 2022-06-28 07:42:54 -07:00
ELFYAML.cpp [Propeller] Encode address offsets of basic blocks relative to the end of the previous basic blocks. 2022-06-28 07:42:54 -07:00
MachOEmitter.cpp Use llvm::less_first (NFC) 2022-06-04 21:23:18 -07:00
MachOYAML.cpp [ObjectYAML][MachO] Add LC_FUNCTION_STARTS support 2022-02-13 09:24:47 -08:00
MinidumpEmitter.cpp [llvm] Use value_or instead of getValueOr (NFC) 2022-06-18 23:07:11 -07:00
MinidumpYAML.cpp
ObjectYAML.cpp [ObjectYAML][DX] Support yaml2dxcontainer 2022-06-01 15:34:00 -05:00
WasmEmitter.cpp [WebAssembly] Rename member in WasmYAML.h to avoid compiler warning 2022-03-14 09:09:43 -07:00
WasmYAML.cpp [WebAssembly] Rename member in WasmYAML.h to avoid compiler warning 2022-03-14 09:09:43 -07:00
XCOFFEmitter.cpp [llvm] Use value_or instead of getValueOr (NFC) 2022-06-18 23:07:11 -07:00
XCOFFYAML.cpp [yaml2obj][XCOFF] parsing auxiliary symbols. 2022-01-10 02:38:49 +00:00
YAML.cpp [ObjectYAML] Use llvm::all_of (NFC) 2021-12-20 00:14:48 -08:00
yaml2obj.cpp [ObjectYAML][DX] Support yaml2dxcontainer 2022-06-01 15:34:00 -05:00