facebook/idb

Is it necessary to additionally define BASE_IDB_FILE_PATH under Windows?

flyqie opened this issue · 0 comments

Description

Currently, BASE_IDB_FILE_PATH in idb/common/constants.py appears to be hardcoded to /tmp/idb, which in Windows creates a tmp/idb folder for the partition you are currently on.

Once the partition is switched, the previous configuration information cannot be associated.

Reproduction

cd C:\
idb connect COMPANION_HOST COMPANION_PORT
idb list-targets
cd D:\
idb list-targets

Solution

I'm not quite sure where the best data storage location should be under Windows, but I don't think the current behavior is a good decision.

Additional Information

  • idb revision: v1.1.8
  • Windows revision: Windows 10 Pro 22H2