MCPcopy Create free account
hub / github.com/Mixaill/FakePDB / PeFile

Method PeFile

src_cpp/src/pe/pe_file.cpp:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23namespace 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 {

Callers

nothing calls this directly

Calls 1

stringMethod · 0.45

Tested by

no test coverage detected