| 22 | |
| 23 | namespace FakePDB::PE { |
| 24 | PeFile::PeFile(const std::filesystem::path& path) : _binary(llvm::object::createBinary(path.string())) |
| 25 | { |
| 26 | if (!_binary.takeError()) { |
| 27 | _obj = llvm::dyn_cast<llvm::object::COFFObjectFile>((*_binary).getBinary()); |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | std::vector<uint8_t> PeFile::GetPdbGuid() |
| 32 | { |