Skip to content

Commit 0418ffd

Browse files
committed
initial commit
0 parents  commit 0418ffd

File tree

13 files changed

+32283
-0
lines changed

13 files changed

+32283
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: 'setup BinDiff test'
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
9+
defaults:
10+
run:
11+
shell: bash
12+
13+
jobs:
14+
bindiff-test-matrix:
15+
name: BinDiff local run on ${{ matrix.os }}
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
os: [ubuntu-latest, windows-latest]
21+
include:
22+
- os: ubuntu-latest
23+
download-link: IDA_DOWNLOAD_LINK_LINUX
24+
overlay-links: IDA_OVERLAY_LINKS_LINUX
25+
install-command: IDA_INSTALL_COMMAND_LINUX
26+
- os: windows-latest
27+
download-link: IDA_DOWNLOAD_LINK_WINDOWS
28+
overlay-links: IDA_OVERLAY_LINKS_WINDOWS
29+
install-command: IDA_INSTALL_COMMAND_WINDOWS
30+
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v4
34+
35+
- name: Setup IDA Pro
36+
uses: cs2-analysis/setup-ida-pro@v1
37+
with:
38+
download-link: '${{ secrets[matrix.download-link] }}'
39+
overlay-links: '${{ secrets[matrix.overlay-links] }}'
40+
install-command: '${{ secrets[matrix.install-command] }}'
41+
42+
- name: Setup BinDiff
43+
uses: ./
44+
45+
- name: Test IDA Pro, BinExport, and BinDiff
46+
run: |
47+
cp -v $(which gzip) ./
48+
idat -B gzip
49+
idat -A -OBinExportAutoAction:BinExportBinary -OBinExportModule:gzip.BinExport gzip.i64
50+
bindiff --version
51+
ls -l gzip{,.i64,.asm,.BinExport}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
.env*

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 cs2-analisis
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# setup-bindiff
2+
3+
Action to setup BinDiff including the IDA Pro plugins.
4+
5+
> [!NOTE]
6+
> Only IDA Pro 9.0.240925 (Windows and Linux) supported.
7+
8+
## Usage example
9+
10+
```yaml
11+
- name: Setup BinDiff
12+
uses: cs2-analysis/setup-bindiff@v1
13+
# with:
14+
# version: 'latest'
15+
```

action.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 'Setup BinDiff'
2+
description: 'Setup BinDiff (IDA Pro 9.0)'
3+
author: 'dumbasPL'
4+
5+
inputs:
6+
version:
7+
description: 'BinDiff version'
8+
required: false
9+
default: 'latest'
10+
11+
runs:
12+
using: 'node20'
13+
main: 'dist/index.js'
14+
15+
branding:
16+
icon: 'download'
17+
color: 'blue'

0 commit comments

Comments
 (0)