Re: SimpleVerifier

Eric Bruneton <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
Markus Heiden wrote:
> Hi,
>  
> I have some problems with the SimpleVerifier. I extended Analyzer, 
> SimpleVerifier, Frame and BasicValue to compute which values (and not 
> just types) are on the stack and into the locals. At some places in the 
> code of SimpleVerifier (and some of its superclasses) BasicValues are 
> compared with == or != for primitve types. This comparison fails for 
> instances of my extended BasicValue class, which additionally holds the 
> value of stack elements and locals (but still uses the original 
> BasicValue.equals()). My code currently works, but I need to workaround 
> the above problems by overwriting the problematic methods with patched 
> ones. Is there a small chance that this code will be changed in asm to 
> use equals() for comparing BasicValues in all cases? I would like to 
> provide a patch in that case.

ok, you can send us your patch.

Eric
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
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.