All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scripts.binary.gadgets.sc Maven / Gradle / Ivy

There is a newer version: 2.0.440+7-e7df7a79
Show newest version
def instrBefore(x: CfgNode, n: Int) =
  x.cfgPrev(n).l.reverse.map(y => y.address.get + ": " + y.code)

cpg.ret.map(x => instrBefore(x, 5).mkString("|\t") + "\n").l |> "/tmp/gadgets.txt"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy