1. A method of identifying invariants associated with a software package, comprising: collecting a plurality of snapshots during execution of the software package; applying a machine learning technique to the plurality of snapshots associated with the software package to identify a memory location within the plurality of snapshots to be a candidate invariant, wherein the plurality of snapshots comprise images of memory used during execution of the software package, and wherein applying the machine learning technique further comprises filtering the plurality of snapshots and identifying the candidate invariant from the filtered plurality of snapshots; and determining that the candidate invariant is an invariant based on the candidate invariant being present within a majority of the plurality of snapshots.