Module Rex::Arch::Sparc
In: lib/rex/arch/sparc.rb

Everything here is mostly stolen from vlad‘s perl sparc stuff

Methods

ori   set   set_dword   sethi  

Public Class methods

Encodes an OR instruction with the value ‘constant’ being OR‘ed with the ‘src’ register into the ‘dst’ register

Puts ‘constant’ into the ‘dst’ register using as few instructions as possible by checking the size of the value. XXX: signedness support

Puts ‘constant’ into the ‘dst’ register using both sethi and ori (necessary to use both uncessarily in some cases with encoders)

Encodes a SETHI instruction with the value ‘constant’ being put into ‘dst’ register

[Validate]