MCPcopy Create free account
hub / github.com/lief-project/LIEF / PCRelative>

Method PCRelative>

api/python/src/asm/aarch64/operands/pyPCRelative.cpp:6–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4namespace LIEF::assembly::aarch64::py {
5template<>
6void 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected