Comments (3)
Hmm, nope, the -1 timeout override is working for just fine for me with analyze(). Not being able to break out is an aspect of the bridge waiting for a response.
Timing the code on my test program shows 121 seconds for running an analysis across the bridge vs 119 seconds running from the ghidra python interpreter, so it doesn't appear to be adding a significant delay.
Additionally, I'd suggest just not running the analysis through GhidraBridge if it's causing problems. Most ghidra scripts I've seen are based on the assumption that analysis has already been completed, either manually through the UI when the program is loaded, or by the analyzeHeadless script. If you're running this through analyzeHeadless, as long as you haven't used the -noanalysis flag, it'll already be analyzed for you.
from ghidra_bridge.
okay maybe I will look into the analyze headless. Thanks @justfoxing . However I dont understand in the analyze headless, what <project repository> <project>
should be. What would this be?
from ghidra_bridge.
The first two arguments to analyzeHeadless are a folder where the project file Ghidra creates is placed, and the name of the project file for Ghidra to create. These can be pretty much anything (e.g., /scratch/ghidra_projects TestProject), with the requirement that the folder must exist. For further info, please see the analyzeHeadlessREADME.html in your Ghidra distribution.
from ghidra_bridge.
Related Issues (20)
- Memory.getBytes returns empty array HOT 3
- AttributeError: 'instancemethod' object has no attribute '__len__' (bridge.py", line 974) HOT 5
- PyPI description has three sequential steps all numbered "1" HOT 2
- Timeout value is not configurable in `ghidra_bridge_server.py` HOT 1
- Are you able to write to a ghidra project? HOT 1
- findBytes return an empty Array HOT 1
- Unable to stop auto-analysis for script connected via ghidra_bridge HOT 1
- Expose other IPC channels HOT 1
- How to put arguments in remote_eval?
- setComment causes BridgeException HOT 2
- Cannot inherit bridged classes HOT 1
- Unhashable type _bridged_ghidra.program.database.function.FunctionDB HOT 2
- Bad file descriptor HOT 1
- Socket not closed, when GhidraBridge Object gets out of scope HOT 5
- Timeout Condition HOT 6
- How to remote debug with VSCode? HOT 4
- Windows: Binding on low port blocked by firewall HOT 3
- How to pass arguments to the post script HOT 1
- Question: how does the RPC bridge handle class callbacks? HOT 3
- using in IDE with proper auto completion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghidra_bridge.