Skip to content

Commit 6920257

Browse files
committed
DEBUGGING: run windows only
1 parent bcca4b2 commit 6920257

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/workflows/run-all-tests-pr.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ jobs:
5353
- os: windows-2022
5454
arch: "windows"
5555

56+
# Exclude all mac and linux for now, we want windows only. DEBUGGING ONLY
57+
exclude:
58+
- os: ubuntu-22.04
59+
arch: "linux"
60+
- os: macos-14
61+
arch: "macos-arm64"
62+
5663
steps:
5764
- uses: actions/checkout@v4
5865

sanitizers/src/main/java/com/code_intelligence/jazzer/sanitizers/FilePathTraversal.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,16 @@ private static void detectAndGuidePathTraversal(Object obj, int hookId) {
308308
return;
309309
}
310310

311+
System.out.println(
312+
"#### FilePathTraversal: checking path: "
313+
+ query
314+
+ "\n against target path: "
315+
+ targetPath
316+
+ "\n absolute target: "
317+
+ absTarget
318+
+ "\n relative target: "
319+
+ relTarget);
320+
311321
Predicate<Path> checkAllowed = allowPath.get();
312322
boolean isPathAllowed = checkAllowed == null || checkAllowed.test(Paths.get(query).normalize());
313323
if (!isPathAllowed) {

0 commit comments

Comments
 (0)