Skip to content

Commit

Permalink
Fix build instructions (in particular the folder name for macOS distr…
Browse files Browse the repository at this point in the history
…os of z3)
  • Loading branch information
aundro committed Jan 24, 2023
1 parent 4e42a98 commit 55803af
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,21 @@ for example `C:\idasdk_pro82\plugins\goomba`.

5. Copy generated files from SDK's bin directory to your IDA install (or [user directory](https://hex-rays.com/blog/igors-tip-of-the-week-33-idas-user-directory-idausr/)):

On Windows:

* `C:\idasdk_pro82\bin\plugins\goomba*` -> `C:\Program Files\IDA Pro 8.2\plugins\`
* `C:\idasdk_pro82\bin\cfg\goomba.cfg` -> `C:\Program Files\IDA Pro 8.2\cfg\`
* `C:\idasdk_pro82\bin\libz3.*` -> `C:\Program Files\IDA Pro 8.2\`

On linux:

* `/path/to/idasdk_pro82/bin/plugins/goomba*` -> `/path/to/ida82/plugins/`
* `/path/to/idasdk_pro82/bin/cfg/goomba.cfg` -> `/path/to/ida82/cfg/`
* `/path/to/idasdk_pro82/bin/libz3.*` -> `/path/to/ida82/`

On macOS:

* `/path/to/idasdk_pro82/bin/plugins/goomba*` -> `/path/to/ida82/ida.app/Contents/MacOS/plugins/`
* `/path/to/idasdk_pro82/bin/cfg/goomba.cfg` -> `/path/to/ida82/ida.app/Contents/MacOS/cfg/`
* `/path/to/idasdk_pro82/bin/libz3.*` -> `/path/to/ida82/ida.app/Contents/Frameworks/`

4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ include ../plugin.mak

ifeq ($(THIRD_PARTY),)
# building outside of Hex-Rays tree, use a local z3 build
Z3VER=4.11.2
Z3VER=4.12.1
Z3BIN-$(__LINUX__) = z3/z3-$(Z3VER)-x64-glibc-2.31/bin/
Z3BIN-$(__NT__) = z3/z3-$(Z3VER)-x64-win/bin/
ifdef __ARM__
Z3BIN-$(__MAC__) = z3/z3-$(Z3VER)-arm64-osx-11.0/bin/
else
Z3BIN-$(__MAC__) = z3/z3-$(Z3VER)-osx-10.16/
Z3BIN-$(__MAC__) = z3/z3-$(Z3VER)-x64-osx-10.16/bin/
endif
Z3_BIN = $(Z3BIN-1)
Z3_INCLUDE = $(Z3_BIN)../include/
Expand Down

0 comments on commit 55803af

Please sign in to comment.