Skip to content

Instantly share code, notes, and snippets.

@pd0wm
Last active January 13, 2022 14:40
Embed
What would you like to do?
diff -ruN a/Ghidra/Processors/V850/data/languages/Helpers/Register.sinc b/Ghidra/Processors/V850/data/languages/Helpers/Register.sinc
--- a/Ghidra/Processors/V850/data/languages/Helpers/Register.sinc 2022-01-02 10:36:23.640221547 -0800
+++ b/Ghidra/Processors/V850/data/languages/Helpers/Register.sinc 2022-01-02 10:39:52.239898877 -0800
@@ -27,7 +27,7 @@
define register offset=0x0 size=0x8
[
- r0r1 r2sp r4r5 r6r7 r8r9
+ r0r1 r2sp _ r6r7 r8r9
r10r11 r12r13 r14r15 r16r17 r18r19
r20r21 r22r23 r24r25 r26r27 r28r29
_
diff -ruN a/Ghidra/Processors/V850/data/languages/Helpers/Variables.sinc b/Ghidra/Processors/V850/data/languages/Helpers/Variables.sinc
--- a/Ghidra/Processors/V850/data/languages/Helpers/Variables.sinc 2022-01-02 10:36:23.640221547 -0800
+++ b/Ghidra/Processors/V850/data/languages/Helpers/Variables.sinc 2022-01-02 10:40:51.027814879 -0800
@@ -13,7 +13,7 @@
attach variables [ R0004x2 R1115x2 R1620x2 R2731x2 ]
[
- r0r1 _ r2sp _ r4r5 _ r6r7 _ r8r9 _
+ r0r1 _ r2sp _ _ _ r6r7 _ r8r9 _
r10r11 _ r12r13 _ r14r15 _ r16r17 _ r18r19 _
r20r21 _ r22r23 _ r24r25 _ r26r27 _ r28r29 _
_ _
@pd0wm
Copy link
Author

pd0wm commented Jan 2, 2022

Apply with patch -p1 -i v850_r4r5.diff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment