Hi Damiano,
In jq_Method.java (located in libsrc/joeq/src/joeq/Class), we have
implemented two methods:
public List<Integer> getLineNumber(Register v)
public List<String> getRegName(Register v)
The first method returns the source line number where a particular
register is defined; and the second method returns the source variable
name that maps to the register. Note that both these calls are not
always guaranteed to work. The primary reason for this is that many
temporary registers are created in the course of generating the Joeq
quadcode and these registers do not map to any variable in the source
code.
Hope this helps.
Best,
Ravi
> --
> You received this message because you are subscribed to the Google Groups "chord-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
chord-discus...@googlegroups.com.
> To post to this group, send email to
chord-...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/chord-discuss.
> For more options, visit
https://groups.google.com/d/optout.