Commit Graph

471 Commits

Author SHA1 Message Date
Elias Bachaalany 477a02f444 minor mods: use the bool operator on ref_t and co. 2023-01-25 20:57:20 -08: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 000531ae46 Merge pull request #41 from ramikg/fix-extlang-paragraph-in-readme
Updated/fixed the `load_and_run_plugin` paragraph in `README.md`

PR #37 was prematurely merged introducing this incorrect documentation. This PR fixes this issue.
2023-01-17 09:05:59 -08:00
Rami 34b756d554 Fix load_and_run_plugin paragraph in README.md 2023-01-17 18:52:16 +02: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 751a988c7c Merge pull request #37 from ramikg/patch-1
Update links in `README.md`
2023-01-16 11:51:03 +01:00
Arnaud Diederen f6c76a6e88 Merge pull request #39 from 0xeb/minor-mods-bld-lnx
Added minor clarification for building the patched SWIG on Linux
2023-01-16 11:49:21 +01: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 a3960ed2f9 fixed another typo 2023-01-11 23:52:46 -08:00
Elias Bachaalany f61a071204 Added minor clarification for building the patched SWIG on Linux 2023-01-11 19:57:51 -08:00
ramikg 6f0b50bba5 Update out-of-date information in README.md 2023-01-08 06:53:11 +02:00
Elias Bachaalany ca0fb1a4c2 Merge pull request #38 from ramikg/patch-2
Delete `readme.md` and keep README.md.
2023-01-07 19:16:39 -08:00
ramikg e1c946123e Delete readme.md 2023-01-08 00:12:44 +02:00
ramikg 0db1983de8 Update links in README.md 2023-01-08 00:11:27 +02:00
Elias Bachaalany 901762a8fb Merge pull request #35 from 0xeb/vds_xrefs
fixed decompile() calls.

See PR #32
2023-01-07 13:51:50 -08:00
Elias Bachaalany b79faaaf6a Merge pull request #34 from 0xeb/chooser-show
Show the chooser when the script is launched
2023-01-07 13:48:08 -08:00
Elias Bachaalany 3fea38f0b6 Merge pull request #36 from 0xeb/remove-obsolete-flags
Removed obsolete flags from the Choose class
2023-01-07 13:47:19 -08:00
Elias Bachaalany b2b2470474 Removed obsolete flags from the Choose class 2023-01-07 13:46:12 -08:00
Elias Bachaalany aed1402239 fixed decompile() calls.
try/except around decompile() are not applicable.

Re-did PR#32
2023-01-07 13:40:16 -08:00
Elias Bachaalany 58d8506d60 Show the chooser when the script is launched
It is a bit confusing for beginners when they run the script and nothing happens. Now, when the script is launched, it shows the chooser
2023-01-07 13:23:30 -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 1e0b352e00 Merge branch 'master' of https://github.com/idapython/src 2022-04-11 16:07:46 +02:00
Arnaud Diederen 656ec7918c Backported fixes 2022-04-11 16:07:02 +02:00
Arnaud Diederen e6160196ad Merge pull request #31 from brgillet/patch-2
Update .gitignore
2022-04-11 16:05:50 +02:00
brgillet 65524457f0 Update .gitignore
Don't publish the fuzzer
2022-03-10 13:02:24 +01:00
Arnaud Diederen 01d069ae68 Backported fixes 2022-02-14 09:17:16 +01:00
Arnaud Diederen 95b5c4066c Backported fixes 2022-01-25 11:52:16 +01:00
Arnaud Diederen 3ce5b7f06d IDAPython for IDA 7.7 2022-01-17 11:28:09 +01:00
Arnaud Diederen 839d93ac96 Backported fixes 2021-11-15 13:52:04 +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
Elias Bachaalany 0edaa85212 Merge pull request #30 from won0-kim/won0-kim-patch-1: Fix typo in idapython.cpp 2021-07-19 13:36:41 -07:00
won0-kim d2e5c801b7 Fix typo in idapython.cpp 2021-07-19 11:58:46 +09: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 3a256f3896 Backported fixes 2021-05-17 08:57:47 +02:00
Arnaud Diederen e8e2a7bb8c IDAPython for IDA 7.6 SP1 2021-05-04 09:37:45 +02:00
Arnaud Diederen c22e071853 IDAPython for IDA 7.6 2021-03-30 08:54:44 +02:00
Arnaud Diederen 7eea22820f Backported fixes 2021-03-02 13:14:55 +01:00
Arnaud Diederen 6bde753bf6 Backported fixes 2021-01-25 12:11:17 +01:00
Arnaud Diederen 3c1990e307 Backported fixes 2021-01-11 08:08:53 +01:00
Arnaud Diederen 4ca6e62c09 Backported fixes 2020-12-07 11:56:21 +01:00
Arnaud Diederen 37eb2bfc74 Backported fixes 2020-11-30 09:33:26 +01:00
Arnaud Diederen ae675500ab Backported fixes 2020-11-23 09:32:47 +01:00