Presently, I'm trying to use Frama-C's slicing capabilities to generate the backwards slice of a particular statement in a given file, and from that particular slice, I would like to acquire the original SIDs of the statements belonging to it. The desired behaviour shouldn't be too dissimilar from the standard behaviour exhibited by the GUI in its highlighting the statements belonging to the slice, except I would like to write a plug-in which returns the SIDs of those statements to me, instead.
Does any know how I should go about interacting with the Slicing module within my script? The structure and documentation for Db.Slicing seems to be heavily geared towards the GUI.
Any help would be much appreciated! :-)