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

io.joern.ghidra2cpg.processors.PCodeProcessor.scala Maven / Gradle / Ivy

The newest version!
package io.joern.ghidra2cpg.processors
import scala.collection.mutable

object PCodeProcessor extends Processor {
  override val getInstructions: mutable.HashMap[String, String] =
    mutable.HashMap(
      "BOOL_AND"          -> ".TODO",
      "BOOL_NEGATE"       -> ".TODO",
      "BOOL_OR"           -> ".or",
      "BOOL_XOR"          -> ".xor",
      "BRANCH"            -> ".goto",
      "BRANCHIND"         -> ".goto",
      "CALL"              -> "CALL",
      "CALLIND"           -> "CALL",
      "CALLOTHER"         -> ".TODO",
      "CAST"              -> ".TODO",
      "CBRANCH"           -> ".TODO",
      "COPY"              -> ".assignment",
      "CPOOLREF"          -> ".TODO",
      "EXTRACT"           -> ".TODO",
      "FLOAT_ABS"         -> ".TODO",
      "FLOAT_ADD"         -> ".addition",
      "FLOAT_CEIL"        -> ".TODO",
      "FLOAT_DIV"         -> ".TODO",
      "FLOAT_EQUAL"       -> ".TODO",
      "FLOAT_FLOAT2FLOAT" -> ".TODO",
      "FLOAT_FLOOR"       -> ".TODO",
      "FLOAT_INT2FLOAT"   -> ".TODO",
      "FLOAT_LESS"        -> ".TODO",
      "FLOAT_LESSEQUAL"   -> ".TODO",
      "FLOAT_MULT"        -> ".TODO",
      "FLOAT_NAN"         -> ".TODO",
      "FLOAT_NEG"         -> ".TODO",
      "FLOAT_NOTEQUAL"    -> ".TODO",
      "FLOAT_ROUND"       -> ".TODO",
      "FLOAT_SQRT"        -> ".TODO",
      "FLOAT_SUB"         -> ".TODO",
      "FLOAT_TRUNC"       -> ".TODO",
      "INDIRECT"          -> ".TODO",
      "INSERT"            -> ".TODO",
      "INT_2COMP"         -> ".TODO",
      "INT_ADD"           -> ".addition",
      "INT_AND"           -> ".TODO",
      "INT_CARRY"         -> ".TODO",
      "INT_DIV"           -> ".division",
      "INT_EQUAL"         -> ".TODO",
      "INT_LEFT"          -> ".TODO",
      "INT_LESS"          -> ".TODO",
      "INT_LESSEQUAL"     -> ".TODO",
      "INT_MULT"          -> ".multiplication",
      "INT_NEGATE"        -> ".TODO",
      "INT_NOTEQUAL"      -> ".TODO",
      "INT_OR"            -> ".or",
      "INT_REM"           -> ".TODO",
      "INT_RIGHT"         -> ".TODO",
      "INT_SBORROW"       -> ".TODO",
      "INT_SCARRY"        -> ".TODO",
      "INT_SDIV"          -> ".TODO",
      "INT_SEXT"          -> ".TODO",
      "INT_SLESS"         -> ".TODO",
      "INT_SLESSEQUAL"    -> ".TODO",
      "INT_SREM"          -> ".TODO",
      "INT_SRIGHT"        -> ".TODO",
      "INT_SUB"           -> ".TODO",
      "INT_XOR"           -> ".xor",
      "INT_ZEXT"          -> ".TODO",
      "LOAD"              -> ".TODO",
      "MULTIEQUAL"        -> ".TODO",
      "NEW"               -> ".TODO",
      "PCODE_MAX"         -> ".TODO",
      "PIECE"             -> ".TODO",
      "POPCOUNT"          -> ".TODO",
      "PTRADD"            -> ".TODO",
      "PTRSUB"            -> ".TODO",
      "RETURN"            -> "RETURN",
      "SEGMENTOP"         -> ".TODO",
      "STORE"             -> ".assignment",
      "SUBPIECE"          -> ".TODO",
      "UNIMPLEMENTED"     -> ".TODO"
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy