Disconnect3d
effebe27f7
Simplifies _print_hex method
...
Simplifies the `_print_hex` method.
Note that there are ~4 different ways of implementing it:
```
In [1]: def a(x):
...: return hex(x).rstrip('L')
...: def b(x):
...: s = hex(x)
...: return s[0:-1] if s.endswith("L") else s
...: def c(x):
...: return '0x%x' % x
...: def d(x):
...: return '0x{:x}'.format(x)
```
2019-07-19 00:04:12 +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
Arnaud Diederen
afca63f19a
Merge pull request #19 from diamondo25/patch-1
...
Fix comment, using undefined `isStruc` instead of `is_struct`
2019-05-09 10:43:04 +02:00
Arnaud Diederen
127c5ee38c
Merge pull request #20 from diamondo25/patch-2
...
Fix get_local_tinfo return commentary.
2019-05-09 10:42:08 +02:00
Arnaud Diederen
976a61b656
Merge pull request #21 from XVilka/patch-1
...
Improve README formatting
2019-05-09 10:40:44 +02:00
Anton Kochkov
c0e5443d26
Improve README formatting
2019-05-09 13:21:22 +08:00
Erwin Oegema
5282cf8b7c
Fix get_local_tinfo return commentary.
2019-03-31 18:27:51 +02:00
Erwin Oegema
df0dc87413
Fix comment, using undefined isStruc instead of is_struct
2019-03-26 22:14:01 +01:00
Arnaud Diederen
15b9ab2535
Merge pull request #16 from cclauss/modernize-Python-2-code
...
Modernize Python 2 code to get ready for Python 3
2018-12-11 07:19:11 +01:00
Arnaud Diederen
3c9e3ba32d
Merge pull request #17 from cclauss/patch-1
...
Specify Python 2 in the build commands
2018-12-10 15:02:17 +01:00
cclauss
526d4d5f99
Specify Python 2 in the build commands
2018-12-02 07:04:46 +01: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
a3855ab969
Merge pull request #14 from chehsunliu/master
...
Add a missing closing tag in idapython.vcxproj.
2018-06-19 13:03:19 +02:00
Che-Hsun Liu
d25347cfcd
Add a missing closing tag in idapython.vcxproj.
2018-06-19 18:28:33 +08: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
5dd5452735
Merge pull request #12 from lallousx86/minor-mods
...
Some minor fixes
2017-06-22 16:06:15 -07:00
Elias Bachaalany
b6f9477e02
fixed example
2017-06-19 08:36:46 -07: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
515842ec33
Don't rely on internal qcp.sh tool for building on OSX
2017-01-17 12:31:47 +01: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
Arnaud Diederen
c04b70e0e5
Brought in all fixes since Jan 8th, 2016.
...
Specifically:
BUGFIX: IDAPython's choose.choose() was broken.
BUGFIX: calling idaapi.del_hotkey() twice with the same argument could crash IDA.
BUGFIX: IDAPython's IDC emulation of idc.GetTevRegMem() was not working.
BUGFIX: IDAPython: execute_ui_requests() could crash IDA.
BUGFIX: IDAPython: IDP_Hooks instances could prevent the decompiler from working properly
2016-03-09 10:33:06 +01:00
Arnaud Diederen
696cd2d551
Fix 'dist' phase on mac (strip binaries)
2016-01-08 16:40:31 +01:00
Arnaud Diederen
f7fc78598c
Fix 'dist' phase on linux (strip binaries)
2016-01-08 16:20:42 +01:00
Arnaud Diederen
656ee71bbc
Fix 'dist' phase on windows
2016-01-08 15:54:26 +01:00
Arnaud Diederen
8e891b5fff
Implement the 'dist-making' process
2016-01-08 15:37:56 +01:00
Arnaud Diederen
d896ecd9e3
Fix copying of python.cfg -> ../../bin/cfg/
2016-01-08 13:07:06 +01:00
Arnaud Diederen
19c58385d5
Build optimized version by default
2016-01-08 12:47:09 +01:00
Arnaud Diederen
54b9e48f7f
Updated api_contents.txt
2016-01-08 12:25:41 +01:00
Arnaud Diederen
c4e4f24e67
IDAPython for IDA 6.9: Initial commit
2016-01-08 11:59:48 +01:00
Arnaud Diederen
0369202c37
build.py: use subprocess.check_call() instead of os.system(), in order to use proper arguments and not simple strings (and thus allow for spaces in paths.)
2015-09-01 14:20:22 +02:00
Arnaud Diederen
c7bf2253cb
Bit more doc
2015-09-01 12:14:23 +02:00
Arnaud Diederen
2c8a324acd
Merge remote-tracking branch 'refs/remotes/origin/master'
2015-09-01 12:05:25 +02:00
Arnaud Diederen
68ef53af7f
build.py: use argparse to provide 1) better/more options, 2) help about those options
...
build.py: was still referencing README.txt, which has been renamed to README.md
2015-09-01 12:03:52 +02:00
Arnaud Diederen
3f61ff5286
build.py: use argparse to provide 1) better/more options, 2) help about those options
...
build.py: was still referencing README.txt, which has been renamed to README.md
2015-09-01 11:59:51 +02:00
Arnaud Diederen
13f4254ccc
Revert "build.py: use argparse to provide 1) better/more options, 2) help about those options"
...
This reverts commit 02e130299d .
2015-09-01 11:56:33 +02:00
Arnaud Diederen
02e130299d
build.py: use argparse to provide 1) better/more options, 2) help about those options
...
build.py: was still referencing README.txt, which has been renamed to README.md
2015-09-01 11:54:07 +02:00
Arnaud Diederen
1b78d937fc
Moved idapython/src/RELEASES/* -> idapython/bin/*
2015-07-09 15:23:59 +02:00
Arnaud Diederen
035ed6834b
Merge pull request #6 from aundro/master
...
Let's make the octocat happy with a nice 'CONTRIBUTING.md' page.
2015-07-09 15:13:13 +02:00
Arnaud Diederen
7df4dcc8e6
Let's make the octocat happy with a nice 'CONTRIBUTING.md' page.
2015-07-09 15:12:05 +02:00
Arnaud Diederen
36f76b9192
Merge pull request #5 from aundro/master
...
Refresh README.md so it better reflects the current situation.
2015-07-08 17:13:55 +02:00
Arnaud Diederen
23e9335164
Refresh README.md so it better reflects the current situation (e.g., removed code.google.com references.)
2015-07-08 17:12:20 +02:00
Arnaud Diederen
846d9c60c0
Merge pull request #4 from aundro/master
...
README.txt -> README.md
2015-07-08 17:01:36 +02:00