| 4 | namespace LIEF::assembly::aarch64::py { |
| 5 | template<> |
| 6 | void create<aarch64::operands::PCRelative>(nb::module_& m) { |
| 7 | nb::class_<aarch64::operands::PCRelative, aarch64::Operand> obj(m, "PCRelative", |
| 8 | R"doc( |
| 9 | This class represents a PC-relative operand. |
| 10 | |
| 11 | .. code-block:: text |
| 12 | |
| 13 | ldr x0, #8 |
| 14 | | |
| 15 | v |
| 16 | PC Relative operand |
| 17 | )doc"_doc |
| 18 | ); |
| 19 | |
| 20 | obj |
| 21 | .def_prop_ro("value", &aarch64::operands::PCRelative::value, |
| 22 | R"doc( |
| 23 | The effective value that is relative to the current ``pc`` register |
| 24 | )doc"_doc |
| 25 | ) |
| 26 | ; |
| 27 | } |
| 28 | } |
nothing calls this directly
no outgoing calls
no test coverage detected