GrammaTech / gtirb

Intermediate Representation for Binary analysis and transformation
https://grammatech.github.io/gtirb/
Other
305 stars 36 forks source link

Does gtirb support stack remodeling? #50

Closed swang206 closed 1 year ago

swang206 commented 2 years ago

I would like to trace data from the stack memory with static analysis. Does gtirb support that? If it does not, what else I could look at?

tjohnson-gt commented 2 years ago

Sorry, but GTIRB does not include modeling of the stack layout at this time. I'm also not aware of anything that's publicly available that would perform the necessary analysis to identify the variables on the stack in a GTIRB context.

You are certainly welcome to put together your own analysis and attach the resulting information as a new AuxData table to your GTIRB files. If you decide to do this, we'd be happy to share the schema we use internally at GrammaTech for the AuxData. Just let us know if you'd find that useful.