Next: , Previous: , Up: Commands   [Contents][Index]


19.4 sdiff

The sdiff command provides structured byte differences between two mapped values.

This command has the following synopsis:

sdiff :a any :b any [:group_by offset] \
      [:values bool]

Where :a and :b are two mapped values of the same type.

By default, the bytes are shown in the diff separated by white characters. You can alter this behaviour using the group_by parameter.

If values is true, then include field interpreted values in the diff output.

If the two values are not mapped, this command raises E_no_map. If the two values are not of the same type, the output will probably not be meaningful.