trailofbits / pasta

Peter's Amazing Syntax Tree Analyzer
Apache License 2.0
123 stars 9 forks source link

Improve handling of token alignment for gnu access attribute #102

Open pgoodman opened 1 year ago

pgoodman commented 1 year ago

When using a proper gnu access attribute, we get nothing printed out after print-token-graph with the alignment. It might be that we didn't discover the attribute in Bounds.cpp. When we change it from __gnu__ to __fnu__, thus triggering the conversion to annotation attributes, we see this, which is also broken:

image
pgoodman commented 1 year ago

It also still seems like the option setting isn't quite working:

image
pgoodman commented 1 year ago

Better but not totally there:

image