From 141484c3a2c3235014cb7c362320e00c48becc1a Mon Sep 17 00:00:00 2001 From: emteere <47253321+emteere@users.noreply.github.com> Date: Tue, 12 Sep 2023 19:56:29 +0000 Subject: [PATCH] GP-3211 break should not continue to disassemble by default. added compued goto to break instruction --- .../Loongarch/data/languages/Loongarch32_instructions.sinc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Ghidra/Processors/Loongarch/data/languages/Loongarch32_instructions.sinc b/Ghidra/Processors/Loongarch/data/languages/Loongarch32_instructions.sinc index 217c9fcf15..fa25e1ceab 100644 --- a/Ghidra/Processors/Loongarch/data/languages/Loongarch32_instructions.sinc +++ b/Ghidra/Processors/Loongarch/data/languages/Loongarch32_instructions.sinc @@ -58,7 +58,8 @@ #0x002a0000 0xffff8000 u0:15 ['imm0_15_s0'] :break imm0_15 is op15_31=0x54 & imm0_15 { local code:2 = imm0_15; - break(code); + local addr:$(REGSIZE) = break(code); + goto [addr]; }