Re: Re: Analyzer for testing code flow correctness
Marcin Rzeźnicki <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Aug 27, 2010 at 2:53 PM, <[email protected]> wrote: > Marcin Rzeźnicki wrote: >> Thanks for answers guys. My most serious problem is actually >> generating stack maps, so I'd really love to have something that >> checks them. I'll see what can be done. > > note that ASM can generate the stak maps for you with the > ClassWriter.COMPUTE_FRAMES option > I'm aware of this, and, in fact, offer this as an option. But I can do it more efficiently as I can reuse most of stack maps generated by a compiler. I only need to change stack maps at the beginning of a catch handler encompassing my byte code and these that are needed in code I'm injecting, where I can easily "restore" context by generating additional stack map, so that subsequent stack maps still remain intact. Basically, my algorithm works and does need to be as generic as yours, nevertheless it is inconvenient to test. >> One more thing, since I am switching to maven and repo asm jar does >> not contain InstructionAdapter, is it OK to include InstructionAdapter >> as is in my lib, with all headers and notices? > > ok > Thx
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