Skip to content

Commit e2cfbbd

Browse files
committed
WARP: Update README with macOS library path instructions
1 parent 53b587d commit e2cfbbd

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

plugins/warp/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,13 @@ Example: `./sigem mylibrary.a` or `./sigem ./all-libs/`
4141

4242
Once its finished you should see a `.sbin` file next to the input file, this can be moved into the corresponding signature folder (see the [user docs](https://docs.binary.ninja/dev/annotation.html?h=install+path#signature-library) for more info)
4343

44-
If you encounter malloc errors or instability try and adjust the number of parallel threads using `RAYON_NUM_THREADS` environment variable (ex. `RAYON_NUM_THREADS=1 ./sigem mylib.a`)
44+
If you encounter malloc errors or instability try and adjust the number of parallel threads using `RAYON_NUM_THREADS` environment variable (ex. `RAYON_NUM_THREADS=1 ./sigem mylib.a`)
45+
46+
#### macOS
47+
48+
If you are on macOS and the `sigem` binary fails to run due to missing `libbinaryninjacore.1.dylib`, you can set your [`DYLD_LIBRARY_PATH`](x-man-page://1/dyld) to include the `${DEP_BINARYNINJACORE_PATH}/Contents/MacOS/` directory.
49+
50+
```sh
51+
export DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${DEP_BINARYNINJACORE_PATH}/Contents/MacOS/"
52+
./sigem --help
53+
```

0 commit comments

Comments
 (0)