与正在运行的Flash进程交互? [英] Interact with a running Flash process?

查看:101
本文介绍了与正在运行的Flash进程交互?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以编写一个与正在运行的Flash实例交互的程序?



在最近的Java版本中,有一个附加自己的概念处理到正在运行的JVM。通过使用Reflection等编写一些有些难看的代码,你可以挖掘,获取对象的引用,打印变量的值,调用方法等等。显然,Flash不是Java(duh),而是它可能实现类似的功能吗?

我已经看过的一些东西是各种SWF反编译器(当然有关系,但与附加一个进程不同)和ptrace(这似乎是可行的,但相当低的水平)。

任何人有其他的想法/建议如何做到这一点?任何事情都可以通过语言,操作系统等来实现。谢谢!

解决方案

您可以查看 Xray ,它使用localConnection连接到一个检查工具。

Is it possible to write a program that interacts with a running instance of Flash?

In recent versions of Java, there is a notion of "attaching" your own process to a running JVM. By writing some somewhat ugly code using Reflection and the like, you can dig around, grab a reference to an object, print the value of a variable, call a method, etc.. Obviously Flash is not Java (duh), but is it possible to achieve something similar?

A couple of things I've already looked at are the various SWF decompilers (related of course, but not the same thing as attaching a process) and ptrace (which seems do-able, but quite low level).

Anyone got other ideas/suggestions on how this can be done? Anything goes as far as language, OS, etc.. Thanks!

解决方案

You could check out the approach taken by Xray, it uses a localConnection to connect to a inspection tool.

这篇关于与正在运行的Flash进程交互?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆