[arm] Use error for TBD functions for runtime visible identification

This commit is contained in:
Kevin Quick 2018-01-24 11:08:03 -08:00
parent 8229de9ff7
commit 55320831b4
No known key found for this signature in database
GPG Key ID: E6D7733599CC0A21

View File

@ -34,17 +34,17 @@ arm_linux_info =
MI.ArchitectureInfo { MI.withArchConstraints = \x -> x
, MI.archAddrWidth = MM.Addr32
, MI.archEndianness = MM.LittleEndian
, MI.jumpTableEntrySize = 0 -- undefined -- jumpTableEntrySize proxy
, MI.jumpTableEntrySize = 0 -- jumpTableEntrySize proxy
, MI.disassembleFn = disassembleFn proxy ARMSem.execInstruction
, MI.mkInitialAbsState = mkInitialAbsState proxy
, MI.absEvalArchFn = absEvalArchFn proxy
, MI.absEvalArchStmt = absEvalArchStmt proxy
, MI.postCallAbsState = undefined -- postCallAbsState proxy
, MI.identifyCall = undefined -- identifyCall proxy
, MI.identifyReturn = undefined -- identifyReturn proxy
, MI.rewriteArchFn = undefined -- rewritePrimFn
, MI.rewriteArchStmt = undefined -- rewriteStmt
, MI.rewriteArchTermStmt = undefined -- rewriteTermStmt
, MI.postCallAbsState = error "TBD: postCallAbsState proxy"
, MI.identifyCall = error "TBD: identifyCall proxy"
, MI.identifyReturn = error "TBD: identifyReturn proxy"
, MI.rewriteArchFn = error "TBD: rewritePrimFn"
, MI.rewriteArchStmt = error "TBD: rewriteStmt"
, MI.rewriteArchTermStmt = error "TBD: rewriteTermStmt"
, MI.archDemandContext = archDemandContext proxy
, MI.postArchTermStmtAbsState = postARMTermStmtAbsState (preserveRegAcrossSyscall proxy)
}