Cisco-Talos / CASC

GNU General Public License v2.0
43 stars 16 forks source link

Unsupported instruction parsing #27

Open jimmy-sonny opened 5 years ago

jimmy-sonny commented 5 years ago

[Error]: immediate value is not 1, 2, or 4 bytes

[CASC] Unsupported instruction parsing. Please open an issue in the git repo with the below information: EA: 0x409763 Instruction Size: 6 Disassembly: or [ebp+466CAD2h], bl Opcodes: 08 9d d2 ca 66 04 {'address': 4233059L, 'bytes': ['08', '9d', 'd2', 'ca', '66', '04'], 'disassembly': 'or [ebp+466CAD2h], bl', 'disp': [''], 'imm': [''], 'modr/m': [''], 'opcode': ['\x08', 'or'], 'prefix': [''], 'sib': ['']}

Traceback (most recent call last): File "C:/Program Files/IDA 7.2/plugins/casc_plugin.py", line 1819, in apply_mask self.data.mask_opcodes(self.ui.mask.get_masking()) File "C:/Program Files/IDA 7.2/plugins/casc_plugin.py", line 1279, in mask_opcodes data = self.parser.mask_instruction(instr.ea, mask_options) File "C:/Program Files/IDA 7.2/plugins/casc_plugin.py", line 791, in mask_instruction instr = self.parse_instruction(ea) File "C:/Program Files/IDA 7.2/plugins/casc_plugin.py", line 1168, in parse_instruction instr['imm'] = [data, value] UnboundLocalError: local variable 'value' referenced before assignment