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

Fix compatibility with IDA 7.x and Python 3 #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

leoetlino
Copy link
Member

No description provided.

gcdsp_opcodes.py Outdated Show resolved Hide resolved
leoetlino added a commit to leoetlino/gcdsp-ida that referenced this pull request Jul 14, 2021
ua_dodata2(0, op.addr, op.dtyp)
ua_add_dref(0, op.addr, dr_R) # TODO: dr_W ?
cmd.create_op_data(op.addr, 0, op.dtype)
cmd.add_dref(op.addr, 0, dr_R)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The TODO is still valid. Currently all xrefs are reads.

res.dtyp = dt_byte
res.addr = val
res.dtype = dt_byte
res.addr = 0x10000 | val
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add to the readme how the segments should be set up so that this works. (For a future PR, could the plugin do that itself?)

@Tilka
Copy link
Member

Tilka commented Jul 26, 2021

Not sure if this is a new bug but gcdsp-ida is missing operands sometimes.

dsptool:

0652 26c9      lrs         $AC0.M, @DSCR
...
0658 26fe      lrs         $AC0.M, @CMBH

gcdsp-ida:

ROM:0652                 LRS
...
ROM:0658                 LRS            $AC0.M, byte_1FFFE

@leoetlino
Copy link
Member Author

Yeah, looks like that could be a regression... I'll investigate.

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

Successfully merging this pull request may close these issues.

3 participants