mirror of
https://github.com/lief-project/LIEF
synced 2026-06-08 15:30:44 +00:00
feat(macho): allow to create MainCommand in Python
This commit is contained in:
@@ -41,6 +41,7 @@ void create<MainCommand>(py::module& m) {
|
||||
Class that represent the LC_MAIN command. This kind
|
||||
of command can be used to determine the entrypoint of an executable
|
||||
)delim")
|
||||
.def(py::init<uint64_t, uint64_t>())
|
||||
|
||||
.def_property("entrypoint",
|
||||
static_cast<getter_t<uint64_t>>(&MainCommand::entrypoint),
|
||||
|
||||
Reference in New Issue
Block a user