Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #16024

Re: Tracing rt.jar?

Path csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Tracing rt.jar?
Date Sat, 14 Jul 2012 20:11:48 +0200
Organization A noiseless patient Spider
Lines 21
Message-ID <jtscq3$c5c$1@dont-email.me> (permalink)
References <spy-20120714182301@ram.dialup.fu-berlin.de>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 8bit
Injection-Date Sat, 14 Jul 2012 18:12:19 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="a84c1446b079a1688ad6eae78efe6477"; logging-data="12460"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19+iZsGGPn9Baq74C0NXu65"
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20
In-Reply-To <spy-20120714182301@ram.dialup.fu-berlin.de>
Cancel-Lock sha1:9447NT6baRjFIpk/OtHMJkUbC4Q=
Xref csiph.com comp.lang.java.programmer:16024

Show key headers only | View raw


On 14/07/2012 18:28, Stefan Ram allegedly wrote:
>   Is there an rt.jar somewhere out there than can replace the
>   standard rt.jar, but was instrumented to trace° all incoming¹
>   calls with their argument values? Or some other technique
>   with that effect?
> 
>   °) print, report, log
> 
>   ¹) Ideally, it would trace a call only when coming from a
>   non-rt.jar method, but not intra-rt.jar-calls.
> 
>   Thus, when you have an application or applet running, you
>   can essentially see what it is doing, even if it was obfuscated.
> 

I wouldn't bet on the existence of such an rt.jar, but it seems to me
you should be able to achieve what you want with Instumentation, and
perhaps a library like this one: <http://jiapi.sourceforge.net/>.

-- 
DF.

Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread


Thread

Re: Tracing rt.jar? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2012-07-14 20:11 +0200

csiph-web