diff options
| author | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-10-09 16:23:52 +0000 |
|---|---|---|
| committer | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-10-09 16:23:52 +0000 |
| commit | 9d3efc3be6c049fd98b797de6aff31b19e03cc2e (patch) | |
| tree | 4de2fa78a72107d9bdf22bed269fa2d4fef4c13c /src | |
| parent | c5c0118a512f87ff8732a8b68e38e954f31dab90 (diff) | |
| download | focaccia-9d3efc3be6c049fd98b797de6aff31b19e03cc2e.tar.gz focaccia-9d3efc3be6c049fd98b797de6aff31b19e03cc2e.zip | |
More alternatives for accessing aarch64 vectors
Diffstat (limited to 'src')
| -rw-r--r-- | src/focaccia/tools/_qemu_tool.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/focaccia/tools/_qemu_tool.py b/src/focaccia/tools/_qemu_tool.py index 419e073..23c1488 100644 --- a/src/focaccia/tools/_qemu_tool.py +++ b/src/focaccia/tools/_qemu_tool.py @@ -44,7 +44,10 @@ class GDBProgramState(ReadableProgramState): try: return int(str(val['d']['u']), 10) except: - return int(str(val['u']), 10) + try: + return int(str(val['u']), 10) + except: + return int(str(val['q']['u']), 10) @staticmethod def _read_vector_reg_x86(val: gdb.Value, size) -> int: |