Commit Graph

67 Commits

Author SHA1 Message Date
Arnaud Diederen e06d4d0986 Added missing support for ida_kernwin.Chooser.OnGetEA 2023-01-30 10:50:06 +01:00
Arnaud Diederen 27fa71c5ac IDAPython for IDA 8.2SP1 2023-01-26 10:56:52 +01:00
Arnaud Diederen 4d3da678c0 Merge pull request #40 from 0xeb/choose_ongetattr
+ bugfix: IDAPython: Choose.OnGetLineAttr was broken
2023-01-18 10:09:31 +01:00
Elias Bachaalany 1284df5188 added bool operator for ref_t and simplified the fix 2023-01-17 08:20:02 -08:00
Elias Bachaalany 02c95291c3 + bugfix: IDAPython: Choose.OnGetLineAttr was broken
- It was only accepting lists (it should accept both tuples and lists)
2023-01-17 08:19:41 -08:00
Arnaud Diederen a2a75975f2 Backported fixes - mostly issues discovered with Python 3.11+ 2023-01-16 11:14:55 +01:00
Arnaud Diederen 201a874e81 BUGFIX: IDAPython: upon failure, ida_hexrays.decompile() now always returns None (instead of either throw a ida_hexrays.DecompilationFailure or return None.)
The type `ida_hexrays.DecompilationFailure` is still present (but is a dummy) because otherwise scripts might break. It is never thrown anymore.

Note that `vds_xrefs.py` still need the `str(cfunc))` kludge, because of a caveat in when/how the decompiler actually updates the global xrefs cache. This will be fixed in the next IDA minor release

In addition, this commit introduces the notion of a typemap to convert form an `ea_t` to a `func_t *` for the `decompile()` call, but doesn't generalize its use.
Since this is a relatively far-ranging change, this will only be introduced in the next IDA minor release as well.
2023-01-16 10:50:06 +01:00
Elias Bachaalany b2b2470474 Removed obsolete flags from the Choose class 2023-01-07 13:46:12 -08:00
Arnaud Diederen 425d9e585e IDAPython for IDA 8.2 2022-12-19 10:10:14 +01:00
Arnaud Diederen 29512d9c48 IDAPython for IDA 8.1 2022-10-10 12:03:43 +02:00
Arnaud Diederen 023c5ba53c IDAPython for IDA 8.0 2022-08-22 10:14:21 +02:00
Arnaud Diederen 656ec7918c Backported fixes 2022-04-11 16:07:02 +02:00
Arnaud Diederen 01d069ae68 Backported fixes 2022-02-14 09:17:16 +01:00
Arnaud Diederen 3ce5b7f06d IDAPython for IDA 7.7 2022-01-17 11:28:09 +01:00
Arnaud Diederen 988910e28e Backported fixes 2021-11-08 09:18:25 +01:00
Arnaud Diederen 19a88f3101 Backported fixes 2021-10-11 10:06:23 +02:00
Arnaud Diederen 7ee60670f9 Backported fixes 2021-09-13 08:05:30 +02:00
Arnaud Diederen cc2b1e8d7c Backported fixes 2021-09-06 08:14:47 +02:00
Arnaud Diederen e1f854822d Backported fixes 2021-07-12 09:37:09 +02:00
Arnaud Diederen 7a5c73196d Backported fixes 2021-05-25 16:20:47 +02:00
Arnaud Diederen c22e071853 IDAPython for IDA 7.6 2021-03-30 08:54:44 +02:00
Arnaud Diederen 3c1990e307 Backported fixes 2021-01-11 08:08:53 +01:00
Arnaud Diederen 99d9079ed5 Backported fixes 2020-10-12 12:52:15 +02:00
Arnaud Diederen a0a90d7b07 Backported fixes 2020-09-28 08:07:36 +02:00
Arnaud Diederen 0706ff1018 Backported fixes 2020-09-14 17:25:37 +02:00
Arnaud Diederen 17a1c54457 IDAPython for IDA 7.5 SP2 2020-08-03 13:02:57 +02:00
Arnaud Diederen 01774be48b Backported fixes 2020-07-06 09:56:31 +02:00
Arnaud Diederen bc9b51b1c7 Backported fixes 2020-06-01 12:20:37 +02:00
Arnaud Diederen 604de9cfad IDAPython for IDA 7.5 2020-05-27 14:34:02 +02:00
Arnaud Diederen 0419c3f138 Backported fixes 2020-04-21 13:34:35 +02:00
Arnaud Diederen 9528950917 Backported fixes 2020-04-14 13:50:52 +02:00
Arnaud Diederen 21983ec8d2 Backported fixes 2020-04-07 08:41:19 +02:00
Arnaud Diederen fe7d9fdb40 Backported fixes 2020-03-09 13:58:30 +01:00
Arnaud Diederen f7e52a0c30 Backported fixes 2019-12-09 10:10:26 +01:00
Arnaud Diederen 752ba3896e IDAPython for IDA 7.4 SP1 2019-11-14 15:58:44 +01:00
Arnaud Diederen e3d07f2018 BUGFIX: IDAPython: inspect.stack() could fail on recent versions of Python3 (e.g., Python 3.7.4)
Don't leave empty strings ('') as '__file__' members of builtin modules' globals; some modules such as inspect expect that built-in modules don't have such an attribute.
2019-10-24 09:24:42 +02:00
Arnaud Diederen 5958995d66 IDAPython for IDA 7.4 2019-10-15 15:05:24 +02:00
Arnaud Diederen dc8f62dc8b The 'displayhook' now uses 'hex()' again, but removes an ending 'L' 2019-06-26 15:35:44 +02:00
Arnaud Diederen d11393fe5c The 'displayhook' uses '0x%x' for formatting numbers, instead of 'hex()', which adds a 'L' in case the number is a long. 2019-06-26 14:50:34 +02:00
Arnaud Diederen 7a567eecf0 IDAPython for IDA 7.3 2019-06-26 14:37:39 +02:00
cclauss d7bacfa611 Modernize Python 2 code to get ready for Python 3 2018-12-01 23:58:26 +01:00
Arnaud Diederen 701bb1b44e IDAPython for IDA 7.2 2018-11-06 08:14:17 +01:00
Arnaud Diederen 29ec1ceba2 IDAPython for IDA 7.1 2018-02-28 07:45:21 +01:00
Arnaud Diederen a0be95b7cd IDAPython for IDA 7.0 SP1 2017-12-05 10:37:09 +01:00
Arnaud Diederen d99a893697 IDAPython for IDA 7.0: Initial commit, plus bugfixes up to 2017 Oct, 13th. 2017-10-13 15:08:08 +02:00
Elias Bachaalany 21f1e96b52 minor mods + doc correction 2017-06-19 08:31:04 -07:00
Elias Bachaalany 0e0e1e263c minor mods / improvements to the docs 2017-05-11 21:04:58 -07:00
Arnaud Diederen 31c7776117 Applied all fixes to IDAPython 6.95, to this date (2017 Jan 17th.) 2017-01-17 12:15:35 +01:00
Arnaud Diederen e22e859a41 Applied all fixes to IDAPython 6.95, to this date (2016 Sept 26th.) 2016-09-26 11:16:26 +02:00
Arnaud Diederen 62ddab8db6 IDAPython for IDA 6.95: Initial commit 2016-08-09 10:01:18 +02:00