Results 1 to 3 of 3
Thread: Javassist Usage, pros & Cons
- 11-03-2011, 12:20 PM #1
Member
- Join Date
- Nov 2011
- Posts
- 2
- Rep Power
- 0
Javassist Usage, pros & Cons
Hi Team,
I am searching for the tool,which gives the data of the method args during runtime.
I had thought javassist(byte Code manipulation tool) is one tool through which we can change the implementation of a class at runtime.
can it give the data/value of the method args during runtime.
suppose my class is like this,
Class1{
mthdA(int a) {syso("Val of A"+a);}
main(String args[]){
int b=3;
mthdA(b);
}
}
In the above class can i hack the value of "a"
can anyone suggest any other tool by which we can get the data/value of the method args during runtime.
Along with can anyone give the info/. about "javassist".
Thanks in advance
vani
- 11-03-2011, 12:34 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,406
- Blog Entries
- 7
- Rep Power
- 17
Re: Javassist Usage, pros & Cons
Eclipse can do it, why reinvent the wheel?
kind regards,
Jos
ps. your code doesn't even compile ...When people rob a bank they get a penalty; when banks rob people they get a bonus.
- 11-03-2011, 03:26 PM #3
Member
- Join Date
- Nov 2011
- Posts
- 2
- Rep Power
- 0
Re: Javassist Usage, pros & Cons
Hi Jos,
can you give me some info, on how to get the dynamic data during runtime.
while debugging we will be getting the method args data rite,i need that data.
will javassist give that data( it seems javassist will give the class infor/. and the methods ,args names only(my assumption)).
is there any tool to crack that data.
Thanks in advance
vaniLast edited by vanisree; 11-03-2011 at 03:39 PM.
Similar Threads
-
Question about superclasses. Pros and cons of an idea.
By Dark in forum New To JavaReplies: 20Last Post: 05-17-2011, 12:31 PM -
Javassist with Maven
By pcman312 in forum Advanced JavaReplies: 2Last Post: 02-01-2011, 09:42 PM -
Well is better use Access or MySQL with WIN (JAVA) APPS (desktop),cons and pros ?
By lse123 in forum New To JavaReplies: 10Last Post: 10-29-2009, 08:03 PM -
What the the Pros of Java vs. other languages?
By shintashi in forum New To JavaReplies: 1Last Post: 07-26-2009, 02:55 AM -
Pros and Cons in Java
By Ninabob in forum New To JavaReplies: 5Last Post: 08-31-2008, 09:35 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks