You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# IDACode
2
-
IDACode makes it easy to execute and debug Python 3 scripts in your IDA environment without leaving Visual Studio Code. The VS Code extension can be found on the [marketplace](https://marketplace.visualstudio.com/items?itemName=Layle.idacode).
2
+
IDACode makes it easy to execute and debug Python scripts in your IDA environment without leaving Visual Studio Code. The VS Code extension can be found on the [marketplace](https://marketplace.visualstudio.com/items?itemName=Layle.idacode).
3
3
IDACode is still in a very early state and bugs are to be expected. Please open a new issue if you encounter any issues.
4
4
5
5
## Features
@@ -8,14 +8,14 @@ IDACode is still in a very early state and bugs are to be expected. Please open
8
8
***Compatibility**: IDACode does not require you to modify your scripts in a specific way. All scripts can be executed from within IDA without changes.
9
9
***Modularity**: IDACode does not make extensive use of safe wrappers for thread synchronization, this allows you to import any module from any path at any given time. Instead IDACode synchronizes the script execution thread with IDAs main thread to avoid performance and unexpected issues.
10
10
11
-
IDACode only supports Python 3. If there's a need for Python 2 compatibility please vote [here](https://github.com/ioncodes/idacode/issues/3).
11
+
IDACode supports both Python 2 and Python 3!
12
12
13
13
## Setup
14
14
To set up the dependencies for the IDA plugin run:
15
15
16
16
```sh
17
17
# make sure to use the correct Python version
18
-
python3 -m pip install --user debugpy tornado
18
+
python -m pip install --user debugpy tornado
19
19
```
20
20
21
21
Either clone this repository or download a release package from [here](https://github.com/ioncodes/idacode/releases). `ida.zip` reflects the contents of the `ida` folder in this repository. Copy all files into IDAs plugin directory.
@@ -51,7 +51,7 @@ Ensure that the workspace folder is the folder that your main scripts are locate
51
51
Once you are connected you are able to select `Execute script in IDA`.
52
52
53
53
## Debugging
54
-
IDACode uses VS Code's remote debugger to connect to IDA. All VS Code features are supported. However, you have to specify the scripts entrypoint by using Python 3 builtin functionality: `breakpoint`. This instruction tells the debugger to pause execution, if there's no debugger present it will just ignore the function. When executing `breakpoint` in IDA, IDACode gives you additional features such as logging and conditionals which are not present in the normal builtin function. Here's an example:
54
+
IDACode uses VS Code's remote debugger to connect to IDA. All VS Code features are supported. However, you have to specify the scripts entrypoint by using Python builtin functionality: `breakpoint`. This instruction tells the debugger to pause execution, if there's no debugger present it will just ignore the function. When executing `breakpoint` in IDA, IDACode gives you additional features such as logging and conditionals which are not present in the normal builtin function. Here's an example:
55
55
56
56
```py
57
57
name = idc.get_segm_name(segment)
@@ -65,4 +65,5 @@ It is also important that attaching a debugger will create a new debugger instan
0 commit comments