FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
jeb-samplecode/plugins/scripts/EngSamplePython.py at master · pnfsoftware/jeb-samplecode · GitHub
pnfsoftware
jeb-samplecode
Repository navigation
Code
Pull requests
3
(3)
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
jeb-samplecode
/
plugins
/
scripts
/
EngSamplePython.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
25 lines (17 loc) · 985 Bytes
Breadcrumbs
jeb-samplecode
/
plugins
/
scripts
/
EngSamplePython.py
Copy path
File metadata and controls
25 lines (17 loc) · 985 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#?type=engines
from
java
.
util
import
Map
from
com
.
pnfsoftware
.
jeb
.
core
import
AbstractEnginesPlugin
,
IEnginesContext
,
IPluginInformation
,
PluginInformation
,
Version
"""
Sample JEB Engines Plugin. It may be compiled and dropped in coreplugins/, or it may
be kept as a script plugin in coreplugins/scripts/.
Script plugins can be developed and modified while JEB is running.
Please refer to the javadoc of the IEnginesPlugin interface for additional information.
It is advised to write back-end plugins in Java. Consult EngSampleJava.java for the equivalent code as a Java script.
"""
class
EngSamplePython
(
AbstractEnginesPlugin
):
def
getPluginInformation
(
self
):
return
PluginInformation
(
"Sample engines plugin in Python"
,
""
,
"PNF Software"
,
Version
.
create
(
0
,
1
));
def
load
(
self
,
engctx
):
self
.
logger
.
debug
(
"Sample engines plugin in Python: load()"
);
def
execute
(
self
,
engctx
,
executionOptions
):
self
.
logger
.
debug
(
"Sample engines plugin in Python: execute()"
)
Back
|
FazBrowse Home
|
New Git URL