OSDN Git Service

disas/capstone: Add skipdata hook for s390x
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 12 Sep 2020 01:19:41 +0000 (18:19 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 3 Oct 2020 09:25:14 +0000 (04:25 -0500)
commitc6d3da962f058bca09b25f99da35436816fb6de8
tree6972bc0845fe62ff2140cb33572cf43441710fd0
parent3d56284524bbefade952d9abae68274be726cd5c
disas/capstone: Add skipdata hook for s390x

It is always possible to tell the length of an insn, even if the
actual insn is unknown.  Skip the correct number of bytes, so that
we stay in sync with the instruction stream.

Acked-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
disas/capstone.c