Skip to content

Commit 0187447

Browse files
committed
Update DynamoRIO version in CI tests
1 parent 3a0a5d1 commit 0187447

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020

2121
- name: Download DynamoRIO
2222
run: |
23-
curl -L -o dr.zip https://github.com/DynamoRIO/dynamorio/releases/download/release_11.3.0-1/DynamoRIO-Windows-11.3.0.zip
23+
curl -L -o dr.zip https://github.com/DynamoRIO/dynamorio/releases/download/cronbuild-11.91.20504/DynamoRIO-Windows-11.91.20504.zip
2424
tar -xf dr.zip
25-
echo "DYNAMORIO_HOME=$PWD/DynamoRIO-Windows-11.3.0-1\bin64" >> $env:GITHUB_ENV
25+
echo "DYNAMORIO_HOME=$PWD\DynamoRIO-Windows-11.91.20504\bin64" >> $env:GITHUB_ENV
2626
2727
- name: Create build directories
2828
run: |
@@ -31,17 +31,17 @@ jobs:
3131
3232
- name: Configure cmake for inject
3333
run: >
34-
cmake -S inject -B inject/build64
34+
cmake -S inject -B inject\build64
3535
-G "Visual Studio 17 2022"
3636
-A x64
37-
-DDynamoRIO_DIR="${{ github.workspace }}/DynamoRIO-Windows-11.3.0-1/cmake"
37+
-DDynamoRIO_DIR="${{ github.workspace }}\DynamoRIO-Windows-11.91.20504\cmake"
3838
3939
- name: Configure cmake for winafl-netspoof
4040
run: >
41-
cmake -S winafl-netspoof -B winafl-netspoof/build64
41+
cmake -S winafl-netspoof -B winafl-netspoof\build64
4242
-G "Visual Studio 17 2022"
4343
-A x64
44-
-DDynamoRIO_DIR="${{ github.workspace }}/DynamoRIO-Windows-11.3.0-1/cmake"
44+
-DDynamoRIO_DIR="${{ github.workspace }}\DynamoRIO-Windows-11.91.20504\cmake"
4545
4646
- name: Build navigator
4747
run: cargo build

tests/only_connect/only_connect.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Remove-Item $OutputFile -ErrorAction Ignore
2222
$process = Start-Process ".\target\debug\navigator.exe" -ArgumentList "--dynamorio-bin-dir=$DynamoRoot --mutator-lib=$MutatorLib --target-module=$Target --nargs=2 --target-path=$TargetPath --target-opts=`"127.0.0.1`"" -PassThru
2323
$nid = $process.Id
2424

25-
# Write-Host "App PID: $nid"
25+
Write-Host "App PID: $nid"
2626

2727
# Wait for the process to finish.
2828
Wait-Process -Id $nid

tests/run_tests.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ $tests = @(
44

55
foreach ($t in $tests) {
66
Write-Host "Running test: $t"
7-
$test_file = "$t.ps1"
8-
& ".\tests\$t\$test_file"
7+
& ".\tests\$t\$t.ps1"
98
}

0 commit comments

Comments
 (0)