Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported instruction parsing #27

Open
jimmy-sonny opened this issue Mar 20, 2019 · 0 comments
Open

Unsupported instruction parsing #27

jimmy-sonny opened this issue Mar 20, 2019 · 0 comments

Comments

@jimmy-sonny
Copy link

[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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant