Wednesday, June 13, 2018

SprintDLL - More powerful copyslot

Today I finished the improvements to SprintDLL's copyslot command. It can now handle multiple qualifiers on a slot. Things along these lines now work, for example:

newslot int a
newslot block b = blockptr(blockptr(int 1))
copyslot a = b dereferenced dereferenced
readslot /raw a
// Prints "1"

When the appropriate copy region length can't be determined, a length switch is required, which can be /bytes (to set the length in bytes), /length (to specify the length with a unit), or /lengthof (to specify the kind of the value, especially useful for native).

No comments:

Post a Comment