On Mon, 28 Jun 2004 11:58:52 +0200
Dick Eimers <[EMAIL PROTECTED]> wrote:

Hi all,

> > Is it possible to modify the variable values and variable name
> > with BCEL? 

yes. but i don see why variable names should be changed :)

[snipped]
> > 4. i = a + 1 ----> i = 10; 
> 
> Can't say anything about this since there is no pattern. I mean, do
> you mean rewriting the 'i' variable to 10? The value of 'i' is the
> result of a evaluating a bytecode sequence. Consider the following; 
[snipped]
> the key issue however is locating a pattern that works for all
> methods.... 

if this is just an assignment or a self learn project, i would do it
with the help of BCELifier with the original code, and then
again with the new code. by comparing both outputs, you will see what
is actually needed to be changed.

that makes learning faster, and also, erm, more fun.

newbie,
SianLun

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to