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

Modifications for Ghidra 10.2 support, add binary release, small improvements #96

Merged
merged 5 commits into from
Jan 10, 2023

Conversation

deividAlfa
Copy link
Contributor

No description provided.

Modifications for Ghidra 10.2
Modifications for Ghidra 10.2
Add Ghidra 10.2 build
@deividAlfa deividAlfa changed the title Modifications for Ghidra 10.2 support, add binary release Modifications for Ghidra 10.2 support, add binary release, small improvements Nov 8, 2022
Show .sync search paths (Make it easier for the user)
@JeffmeisterJ
Copy link

I just patched my own clone and tried this and it works.

@saidelike
Copy link
Contributor

I can confirm these 2 patches are enough to build the extension for ghidra 10.2.2

diff --git a/ext_ghidra/src/main/java/retsync/LocalColorizerService.java b/ext_ghidra/src/main/java/retsync/LocalColorizerService.java
index c4456eb..4b1454e 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);
-                addHighlightBrace((ClangSyntaxToken) token, defaultParenColor);
+                addBraceHighlight((ClangSyntaxToken) token, defaultParenColor);
             }
         }
     }
diff --git a/ext_ghidra/src/main/java/retsync/RetSyncPlugin.java b/ext_ghidra/src/main/java/retsync/RetSyncPlugin.java
index 6d98de4..54341f7 100644
--- a/ext_ghidra/src/main/java/retsync/RetSyncPlugin.java
+++ b/ext_ghidra/src/main/java/retsync/RetSyncPlugin.java
@@ -120,7 +120,7 @@ public class RetSyncPlugin extends ProgramPlugin {
     protected boolean bUseEnhancedHighlight = true;

     public RetSyncPlugin(PluginTool tool) {
-        super(tool, true, true);
+        super(tool);
         String pluginName = getName();
         uiComponent = new RetSyncComponent(this, pluginName);
     }

@citronneur citronneur merged commit a6d0b53 into bootleg:master Jan 10, 2023
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

Successfully merging this pull request may close these issues.

4 participants