Code Monkey home page Code Monkey logo

ghinja's People

Contributors

martyx00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ghinja's Issues

Stuck on "Decompiler Running....."

Ive installed ghinja both through the Binary Ninja plugin manager and manually through the repo. I set the target to analyzeHeadless, yet when I click anywhere in the dock to run the decompiler, it hangs on "Decompiler Running"

Binary Ninja Version 2.4.2846
Ghidra version 10.0.4
Macbook Pro M1

Thanks :)

AttributeError: 'GhinjaDockWidget' object has no attribute 'filename'

Platform Information:
MacOS 11.6 (20G165) (M1 chip)

Binary Ninja Build:
Version 2.4.2846 Personal

While attempting to load the plugin I receive the following error.

  File "/Users/adi/Library/Application Support/Binary Ninja/plugins/ghinja/__init__.py", line 101, in eventFilter
    self.decomp = Decompiler(self.filename,self.current_path)
AttributeError: 'GhinjaDockWidget' object has no attribute 'filename'

OSX: Welcome dialog 'open file' is without the title

Hello,

After installation the open file dialog is popping up. Unfortunately on OSX it don't have any title, so it is not clear what file should be picked without checking it in the source code.

My suggestion is to replace the open file window with message box asking the user to set correct path for ghidra headless in settings

Stuck at Decompiler running

Hey so i might just be stupid right now but i dont get it to work.
So sorry if i waste your time with that.

in my Settings.json it looks like that

	"ghinja" : 
	{
		"ghidra_install_path" : "/home/sn0wfl4ke/ghidra/support/analyzeHeadless"
	}

Now when I want to Decompile a small Programm which is instalty there inside Ghidra
it just stuck me in Decompiler running....

I am pretty sure i did sth wrong with the installation or that i am missing sth kinda noob at this xD

my os i use it on is btw linux

thx already ^^

Suggestion to use Settings API

Rather than a local metadata store, might I recommend using the Settings API? The advantage is if the plugin is removed / reinstalled, the previous settings will be maintained. Here's an example plugin that uses the Settings API:

https://github.com/withzombies/bnil-graph/blob/master/__init__.py#L21-L48

Likewise, you might consider using something like Path(user_plugin_path()) / ".." / "ghinja_projects" as a good folder versus ~/.ghinja_projects for better cross-platform portability. (IE, .dot files not being standard on windows)

prevent ghinja from running when dock isn't open or allow some other method to disable

It would be nice to have ghinja only enabled some of the time. Right now the only way to do that is to totally disable/enable the entire plugin. It would be nice if it either didn't run if the dockwidget was hidden, or if there's problems with that implementation a setting to disable/enable would be nice since plugin disabling requires a restart whereas a setting wouldn't.

Does not work at all

Ghidra opens with a message: The specified file is not a project file: Ghindja.java

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.