Update doc

This commit is contained in:
Romain Thomas
2017-11-01 20:34:20 +01:00
parent aa70e07791
commit ba7dfeab39
2 changed files with 8 additions and 2 deletions
+4 -2
View File
@@ -27,13 +27,15 @@ void init_utils_functions(py::module& m) {
auto&& InteractiveShellEmbed = py::module::import("IPython").attr("terminal").attr("embed").attr("InteractiveShellEmbed");
auto&& ipshell = InteractiveShellEmbed("banner1"_a = "Dropping into IPython", "exit_msg"_a = "Leaving Interpreter, back to program.");
return ipshell();
});
},
"Drop into an IPython Interpreter");
m.def("breakp",
[] (void) {
py::object set_trace = py::module::import("pdb").attr("set_trace");
return set_trace();
});
},
"Trigger 'pdb.set_trace()'");
#if defined(LIEF_PE_MODULE)
m.def("is_pe",