Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve installation and usage #5

Open
skochinsky opened this issue Sep 27, 2022 · 1 comment
Open

Improve installation and usage #5

skochinsky opened this issue Sep 27, 2022 · 1 comment

Comments

@skochinsky
Copy link

Currently the installer drops the plugin and TTD DLLs into IDA's install folder which requires admin privileges. Besides making the installer unnecessarily IDA version-specific, this can be easily avoided with a couple small improvements:

  1. drop the plugin into the user directory ( %APPDATA%\Hex-Rays\IDA Pro\plugins).
  2. instead of LoadLibrary(TEXT("TTDReplay.dll")) which requires the DLL to be in the DLL search path, use the full path to the DLL in the WinDbg install directory, or, if it's not possible, to the copy in the user directory.
@simsor
Copy link
Member

simsor commented Oct 3, 2022

The TTDReplay.dll library is loaded by ttd-bindings at the moment, and its path is hard-coded. I have a working local fork which loads the DLL from the AppData IDA folder, but I believe a better way to do it would be to allow specifying the path to both DLLs in the ReplayEngine constructor (the bindings don't need to know about IDA).

I created airbus-cert/ttd-bindings#2 to change this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants