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: 4.0.78
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