uiCA icon indicating copy to clipboard operation
uiCA copied to clipboard

Enable disassembling hex strings

Open boomanaiden154 opened this issue 1 year ago • 0 comments

This patch enables disassembling hex strings by changing the input options to the uiCA.py script. Instead of accepting a file as a positional argument, a file is now accepted as a flag. Input can also be accepted with the hex flag, assuming a hex string is passed in. This allows for more easily working with the BHive dataset using the main uiCA.py script in addition to other tools that pass around various representations of machine code without having to write anything to a file.

This patch might not be totally desirable in its current form as it changes the default invocation of uiCA.py, but if desired it should be a simple fix to make the default input a file path as a positional argument while still keeping this functionality (if this patch is desired upstream at all).

boomanaiden154 avatar Apr 01 '23 00:04 boomanaiden154