Lines Matching refs:r

58     add(r"push. .*", lambda m: ptr_size)
59 add(r"pop. .*", lambda m: -ptr_size)
60 add(r"sub. \$(\w+), (?:%esp|%rsp)", lambda m: int(m[1], 0))
61 add(r"add. \$(\w+), (?:%esp|%rsp)", lambda m: -int(m[1], 0))
62 add(r"call. (0x\w+) <.*", lambda m: ptr_size, adjust_pc=lambda m: int(m[1], 0))
63 add(r"j[a-z]* (0x\w+) <.*", adjust_pc=lambda m: int(m[1], 0))
65 add(r"sub sp,(?: sp,)? #(\w+)", lambda m: int(m[1], 0))
66 add(r"add sp,(?: sp,)? #(\w+)", lambda m: -int(m[1], 0))
67 add(r"str \w+, \[sp, #-(\d+)\]!", lambda m: int(m[1]))
68 add(r"ldr \w+, \[sp\], #(\d+)", lambda m: -int(m[1]))
69 add(r"stp \w+, \w+, \[sp, #-(\w+)\]!", lambda m: int(m[1], 0))
70 add(r"ldp \w+, \w+, \[sp\], #(\w+)", lambda m: -int(m[1], 0))
71 add(r"vpush \{([d0-9, ]*)\}", lambda m: 8 * len(m[1].split(",")))
72 add(r"vpop \{([d0-9, ]*)\}", lambda m: -8 * len(m[1].split(",")))
73 add(r"v?push(?:\.w)? \{([\w+, ]*)\}", lambda m: 4 * len(m[1].split(",")))
74 add(r"v?pop(?:\.w)? \{([\w+, ]*)\}", lambda m: -4 * len(m[1].split(",")))
75 add(r"cb\w* \w+, (0x\w+).*", adjust_pc=lambda m: int(m[1], 0))
76 add(r"(?:b|bl|b\w\w) (0x\w+).*", adjust_pc=lambda m: int(m[1], 0))
78 add(r"addi sp, sp, (-?\w+)", lambda m: -int(m[1], 0))
79 add(r"b\w* (?:\w+, )+(0x\w+).*", adjust_pc=lambda m: int(m[1], 0))
80 add(r"(?:j|jal) (?:\w+, )?(0x\w+).*", adjust_pc=lambda m: int(m[1], 0))
180 data = re.sub(r"[ \t]+", " ", asm.data)
181 inst_re = re.compile(r"([0-9a-f]+): +(?:[0-9a-f]{2} +)*(.*)")
192 m = re.compile(r"(0x[0-9a-f]+): CFA=(\w*)([^:\n]*)").findall(fde.data)
193 cfa = collections.deque([(int(a, 0), int(o or "0") if r == sp else None) for a, r, o in m])