32namespace py = pybind11;
41objectfile_pybind(py::module_ &m_internal)
43 py::module_
m = m_internal.def_submodule(
"object_file");
45 py::class_<loader::ObjectFile>(
m,
"ObjectFile")
48 }, py::return_value_policy::reference)
51 }, py::return_value_policy::reference)
55 m.def(
"create", [](
const std::string &fname) {
virtual ObjectFile * getInterpreter() const
const char * archToString(Arch arch)
ObjectFile * createObjectFile(const std::string &fname, bool raw)
const char * opSysToString(OpSys op_sys)
Copyright (c) 2024 Arm Limited All rights reserved.