-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
10,253 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Build | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build_windows: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build binaryninja-core placeholder | ||
working-directory: ./ci/binaryninja-api | ||
shell: bash | ||
run: | | ||
cmake -B build | ||
cmake --build build --config Release | ||
- name: Install stable toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
profile: minimal | ||
override: true | ||
|
||
- name: Build | ||
env: | ||
BINARYNINJADIR: ${{ github.workspace }}/ci/binaryninja-api/build/Release | ||
run: cargo build --release | ||
|
||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: themida-spotter-bn_win64 | ||
path: target/release/*.dll | ||
retention-days: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
cmake_minimum_required(VERSION 3.20) | ||
|
||
project(binaryninja-core) | ||
|
||
set(_triton_bn_binaryninja_git_tag "v4.1.5747-stable") | ||
|
||
include(FetchContent) | ||
FetchContent_Declare(binaryninjaapi | ||
GIT_REPOSITORY https://github.com/Vector35/binaryninja-api.git | ||
GIT_TAG ${_triton_bn_binaryninja_git_tag} | ||
) | ||
FetchContent_GetProperties(binaryninjaapi) | ||
if(NOT binaryninjaapi_POPULATED) | ||
FetchContent_Populate(binaryninjaapi) # For binaryninjaapi_SOURCE_DIR | ||
endif() | ||
|
||
add_library(binaryninjacore SHARED | ||
binaryninjacore.cc | ||
) | ||
set_target_properties(binaryninjacore PROPERTIES | ||
SOVERSION 1 | ||
) | ||
target_include_directories(binaryninjacore PRIVATE | ||
"${binaryninjaapi_SOURCE_DIR}" | ||
) |
Oops, something went wrong.