This directory contains sources and compiled classes
used by jdwp-* scripts.
All classes must have run() method defined which is
expected to return a string.
Method run() can have arguments, but then the scripts
would need to be modified to add those arguments when
class is injected. As JDWPExecCmd has a run() method
which accepts a string as its argument, see
jdwp-exec script for details of passing the
arguments to a method via JDWP.
Arguments need to be tagged with their respective type.
For other tags see http://docs.oracle.com/javase/6/docs/technotes/guides/jni/spec/types.html#wp9502 .
Example from jdwp-exec:
local cmdID
status,cmdID = jdwp.createString(socket,0,cmd)
local runArgs = string.pack(">B I8", 0x4c, cmdID) -- 0x4c is object type tag
-- invoke run method
local result
status, result = jdwp.invokeObjectMethod(socket,0,injectedClass.instance,injectedClass.thread,injectedClass.id,runMethodID,1,runArgs)
To compile these sources:
# javac *.java
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
















收起资源包目录





































































































共 955 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论


kui954
- 粉丝: 1516
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- (精品)操作系统教程第5版课后答案.doc
- 霓虹灯的PLC控制系统设计概要.doc
- 秦皇岛海港区CDMA移动通信系统规划设计.doc
- 供水公司信息化系统方案.doc
- 基于51单片机按时打铃系统毕业设计论文.doc
- 电子商务基础上的物流管理研究.doc
- 美容院网络推广方案.doc
- 公路改建项目管理与服务设施工程交工验收资料.doc
- 基于云计算的天气预报系统实现.doc
- 最新毕业设计(论文)-基于单片机的大棚温湿度检测报警系统1.doc
- 淘宝C店女装网络营销方案.doc
- 智能变电站故障录波与网络信息分析装置的一体化可行性.pptx
- 工学空间力系MicrosoftPowerPoint演示文稿.pptx
- 网络营销理论.pptx
- (源码)基于Python的GnuPG USB加密令牌管理系统.zip
- 消费类电子行业网络营销方案.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
