neatmonster / amie Goto Github PK
View Code? Open in Web Editor NEWA Minimalist Instruction Extender for the ARM architecture and IDA Pro
License: MIT License
A Minimalist Instruction Extender for the ARM architecture and IDA Pro
License: MIT License
Every time I move the mouse over a MUL
Instruction(e.g. MUL X1, X1, X2
), idapython prints this error message
Exception in ida_kernwin.UI_Hooks dispatcher function: SWIG director method error. Error detected when calling 'UI_Hooks.get_custom_viewer_hint'
Traceback (most recent call last):
File "//xxxxx/ida-pro/plugins/amie.py", line 370, in get_custom_viewer_hint
hint = self.arch.hint(place.toea(), tag, val)
File "//xxxxx/ida-pro/plugins/amie.py", line 131, in hint
desc += "\n\n" + "\n".join(insn["templates"][tmpl_name])
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
By reading the source code, I think this is because the value of "authored"
field of the MUL
instruction in aarch64.json is null
.
"MUL_MADD": {
"authored": null,
"heading": "MUL",
"templates": {
"GENERAL": [
"MUL <Wd>, <Wn>, <Wm>",
"MUL <Xd>, <Xn>, <Xm>"
]
}
},
I don't know why "authored"
is set to null
, it might be a bug with the parser for generating aarch64.josn. But I think it would be good to add the handling of None type in amie.py
Hello,
I'm thinking of porting this plugins to be compatible to IDA 8.2. Do you still maintain the project or it is dead ?
Hello,
Is it possible to share your parser script ?
Thanks
Hi there.
I got this exception while searching for an instruction in the disassembly view.
Exception in ida_idp.IDP_Hooks dispatcher function: SWIG director method error. Error detected when calling 'IDP_Hooks.ev_out_insn'
Traceback (most recent call last):
File "/home/patate/idapro-7.4/plugins/amie.py", line 354, in ev_out_insn
return self.arch.output(outctx)
File "/home/patate/idapro-7.4/plugins/amie.py", line 251, in output
mne, op = cp_reg.split()
ValueError: not enough values to unpack (expected 2, got 1)
Hi,
thanks for the awesome plugin. Unfortunately it has some rather weird side effects.
When this plugin is installed, opening the "Compiler" window (Options -> Compiler) causes an IDA crash.
If I remove this plugin, the crash is gone.
Version 7.2.181105 Linux x86_64 (32-bit address size)
Regards,
Robert
PS: I reported this issue also to hex-rays
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.