radeco icon indicating copy to clipboard operation
radeco copied to clipboard

Support for newer opcodes

Open sushant94 opened this issue 7 years ago • 2 comments

ESIL has evolved to include the following new opcodes. We need to support them:

  • [ ] ">>>>" -- Arithmetic right shift
  • [ ] ">>>>=" -- Arithmetic right shift eq
  • [ ] "REPEAT" -- RTFS
  • [ ] "NUM" -- Replace symbolic reference with actual values (in register, label etc.)
  • [ ] "PICK" -- Pick nth element from top of stack
  • [ ] "RPICK"-- Pick nth element from bottom of stack
  • [ ] "SWAP" -- Swap top two elements of the stack
  • [ ] "BITS" -- RTFS

sushant94 avatar Oct 07 '17 04:10 sushant94

Related to #6

sushant94 avatar Oct 07 '17 07:10 sushant94

Update: Seems like these are currently not being used in any translation (rather, just through the r2 console to inspect and modify state). We could leave this as a TODO for later.

sushant94 avatar Oct 10 '17 03:10 sushant94