mirror of
https://github.com/lief-project/LIEF
synced 2026-06-08 15:30:44 +00:00
feat(macho): allow to create ThreadCommand in Python
This commit is contained in:
@@ -45,6 +45,7 @@ void create<ThreadCommand>(py::module& m) {
|
||||
Generally speaking, this command aims at defining the original state
|
||||
of the main thread which includes the registers' values
|
||||
)delim")
|
||||
.def(py::init<uint32_t, uint32_t, CPU_TYPES>())
|
||||
|
||||
.def_property("flavor",
|
||||
static_cast<getter_t<uint32_t>>(&ThreadCommand::flavor),
|
||||
|
||||
Reference in New Issue
Block a user