Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building ret-sync for Ghidra 11.2.1 #127

Open
OccamsXor opened this issue Nov 7, 2024 · 1 comment
Open

Building ret-sync for Ghidra 11.2.1 #127

OccamsXor opened this issue Nov 7, 2024 · 1 comment

Comments

@OccamsXor
Copy link

With the below changes, it builds fine:

diff --git a/ext_ghidra/src/main/help/help/shared/Frontpage.css b/ext_ghidra/src/main/help/help/shared/DefaultStyle.css
similarity index 100%
rename from ext_ghidra/src/main/help/help/shared/Frontpage.css
rename to ext_ghidra/src/main/help/help/shared/DefaultStyle.css
diff --git a/ext_ghidra/src/main/help/help/topics/retsync/help.html b/ext_ghidra/src/main/help/help/topics/retsync/help.html
index 8f858d2..1f9d6a1 100644
--- a/ext_ghidra/src/main/help/help/topics/retsync/help.html
+++ b/ext_ghidra/src/main/help/help/topics/retsync/help.html
@@ -10,7 +10,7 @@
     <META name="ProgId" content="FrontPage.Editor.Document">

     <TITLE>Skeleton Help File for a Module</TITLE>
-    <LINK rel="stylesheet" type="text/css" href="../../shared/Frontpage.css">
+    <LINK rel="stylesheet" type="text/css" href="help/shared/DefaultStyle.css">
   </HEAD>

   <BODY>
diff --git a/ext_ghidra/src/main/java/retsync/LocalColorizerService.java b/ext_ghidra/src/main/java/retsync/LocalColorizerService.java
index 4b1454e..6e6f655 100644
--- a/ext_ghidra/src/main/java/retsync/LocalColorizerService.java
+++ b/ext_ghidra/src/main/java/retsync/LocalColorizerService.java
@@ -299,7 +299,7 @@ public class LocalColorizerService {
             addPrimaryHighlight(token, defaultHighlightColor);
             if (token instanceof ClangSyntaxToken) {
                 addPrimaryHighlightToTokensForParenthesis((ClangSyntaxToken) token, defaultParenColor);
-                addBraceHighlight((ClangSyntaxToken) token, defaultParenColor);
+                addPrimaryHighlightToTokensForBrace((ClangSyntaxToken) token, defaultParenColor);
             }
         }
     }

References:
#108
NationalSecurityAgency/ghidra@9f8b03a#diff-107b88c3af214ad82d528f05627965317343fb37220194e15cf89d780e192433R122

@Xemuth
Copy link

Xemuth commented Dec 21, 2024

I can confirm it build correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants