Re: [CIL users] Labels-As-Values

2011-05-06 Thread Gabriel Kerneis
On Fri, May 06, 2011 at 12:00:17PM -0700, Christian Collberg wrote: > I actually need to be able to manipulate labels-as-values directly, compiling > them away into a switch is not an option. Is there some way to hack CIL > to do this? What you would need to do: - design an extension of the CIL AS

[CIL users] Labels-As-Values

2011-05-06 Thread Christian Collberg
The documentation says the following: = The following extensions are handled, typically by compiling them away: Labels as values and computed goto. This allows a program to take the address of a label and to manipulate it as any value and al