Re: Making operand stack copy

Torsten Curdt <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
Shrinivas Balkrishna Joshi wrote:
> Hi All,
>   I want to know if one can use BCEL to make a copy of JVM operand stack.
> Actually I want to save parameters being passed to a particular function
> before the function is called. If there are less than 3 parameters I can
> use DUP instruction to create copy of stack values and save the arguments.
> However, this method wont help in function calls involving more than 3
> parameters. So I was just wondering whether one can make a copy of whole
> stack at a particular instance of program execution and manipulate it
> using BCELA API.
> Thanking you in anticipation
> -Shrinivas Joshi ([email protected])

You might wanna have a look at

  http://jakarta.apache.org/commons/sandbox/javaflow/

since documentation is still lacking...

  http://vafer.org/blog/tcurdt/archives/000179.html

cheers
--
Torsten
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCF2PyBGM6V3wgCUERAvgMAJwMoEaRafp9Y4GugOZ1BHFHNgTauQCfSNh8
Hr3SpiFfPnlLupwWXn+96yc=
=mHED
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.