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

Function init

api/python/src/DWARF/init.cpp:13–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12namespace LIEF::dwarf::py {
13void init(nb::module_& m) {
14 nb::module_ dwarf = m.def_submodule("dwarf");
15
16 dwarf.def("load", [] (nb::PathLike path) { return load(path); },
17 R"doc(
18 Load the DWARF from the given path
19 )doc"_doc, "path"_a
20 );
21
22 create<LIEF::dwarf::Scope>(dwarf);
23 create<LIEF::dwarf::Type>(dwarf);
24 create<LIEF::dwarf::Variable>(dwarf);
25 create<LIEF::dwarf::Function>(dwarf);
26 create<LIEF::dwarf::Parameter>(dwarf);
27 create<LIEF::dwarf::CompilationUnit>(dwarf);
28 create<LIEF::dwarf::DebugInfo>(dwarf);
29 create<LIEF::dwarf::Editor>(dwarf);
30}
31}

Callers

nothing calls this directly

Calls 1

loadFunction · 0.50

Tested by

no test coverage detected