MCPcopy Create free account
hub / github.com/lief-project/LIEF / init

Function init

api/python/src/PDB/init.cpp:12–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11namespace LIEF::pdb::py {
12void init(nb::module_& m) {
13 nb::module_ pdb = m.def_submodule("pdb");
14
15 pdb.def("load", &LIEF::pdb::load,
16 R"doc(
17 Load the PDB from the given path
18 )doc"_doc, "path"_a
19 );
20 init_utils(m);
21
22 create<LIEF::pdb::BuildMetadata>(pdb);
23 create<LIEF::pdb::Type>(pdb);
24 create<LIEF::pdb::DebugInfo>(pdb);
25 create<LIEF::pdb::PublicSymbol>(pdb);
26 create<LIEF::pdb::CompilationUnit>(pdb);
27 create<LIEF::pdb::Function>(pdb);
28}
29}

Callers

nothing calls this directly

Calls 1

init_utilsFunction · 0.70

Tested by

no test coverage detected