Find the user directory for IDA Pro in a platform-independent way
Project description
find_ida_user_dir
determines the current user's IDA Pro user directory in a platform independent way.
To use
import find_ida_user_dir
user_dir = find_ida_user_dir.find_path()
plugins_dir = find_ida_user_dir.find_path("plugins")
find_ida_user_dir
first checks for the existence of an IDAUSR
environment variable: if it is present, that is returned. If not, the correct path of the default user directory as described in the IDA Pro documentation is returned. If a subdirectory name is given then the path to that subdirectory in the IDA user directory is returned.
If the find_ida_user_dir.find_path
function is called from inside IDA Python then it delegates the job of finding the correct path to the ida_diskio.get_user_idadir
function.
find_ida_user_dir
is useful for creating installation scripts for IDA plugins which need to identify the IDA user directory so that they know where to copy the plugin module to.
This module also installs a console script called find_ida_user_dir
: it can be run from a command line and prints the path returned by find_path
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file find_ida_user_dir-0.3.0.tar.gz
.
File metadata
- Download URL: find_ida_user_dir-0.3.0.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e3d48c91cc4d17e4922e4e401086758dc0afbde724b239096413f3c118ae030 |
|
MD5 | c915a6ad4c827575e5a0c6794bd5d40f |
|
BLAKE2b-256 | d26d8e474d08d40bb7335c580b2bc2ff779e4a0337b7399442ad45a9fa89202a |
File details
Details for the file find_ida_user_dir-0.3.0-py2-none-any.whl
.
File metadata
- Download URL: find_ida_user_dir-0.3.0-py2-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 321b8f2ce2965a5234170504afb8bc6f9a49976ecb9eea446633aa72281b527d |
|
MD5 | af1b02778dc77b9f696a5335bd7523c2 |
|
BLAKE2b-256 | 2d05ef59dfb2f4145e0a0ccb24f2e035040fb9430443c09b27d528dbac07736f |