Skip to content

Instantly share code, notes, and snippets.

@mcandre
Last active April 26, 2021 02:50
Show Gist options
  • Save mcandre/d63a444d194b73dc4193c33883eccecb to your computer and use it in GitHub Desktop.
Save mcandre/d63a444d194b73dc4193c33883eccecb to your computer and use it in GitHub Desktop.

Revisions

  1. Andrew revised this gist Apr 26, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion show-binary-dependencies.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Linux
    # General UNIX/Linux

    ```console
    $ ldd <binary>
  2. Andrew renamed this gist Apr 26, 2021. 1 changed file with 14 additions and 0 deletions.
    14 changes: 14 additions & 0 deletions windows-show-dependencies.md → show-binary-dependencies.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,17 @@
    # Linux

    ```console
    $ ldd <binary>
    ```

    # macOS

    ```console
    $ otool -L <binary>
    ```

    # Windows

    ```console
    PS C:\> & 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\Hostx86\x64\dumpbin.exe' /dependents <binary>
    ```
  3. Andrew created this gist Apr 26, 2021.
    3 changes: 3 additions & 0 deletions windows-show-dependencies.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    ```console
    PS C:\> & 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\Hostx86\x64\dumpbin.exe' /dependents <binary>
    ```