Skip to content

Commit

Permalink
add benchmark package
Browse files Browse the repository at this point in the history
  • Loading branch information
yoloyyh committed Sep 26, 2024
1 parent ae5265b commit 2272139
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rasp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ SHA256SUMS: rasp-linux-default-x86_64-$(VERSION).tar.gz
check_benchmark:
if echo $(VERSION) | grep -q benchmark; then \
echo "Version contains benchmark. Modifying files..."; \
sed -i "s/isBenchMark = false/isBenchMark = true/g" "jvm/JVMProbe/src/main/java/com/security/smith/SmithProbe.java" \
sed -i "s/isBenchMark = false/isBenchMark = true/g" "jvm/JVMProbe/src/main/java/com/security/smith/asm/SmithMethodVisitor.java" \
sed -i "s/isBenchMark = false/isBenchMark = true/g" "jvm/JVMProbe/src/main/java/com/security/smith/SmithProbe.java"; \
sed -i "s/isBenchMark = false/isBenchMark = true/g" "jvm/JVMProbe/src/main/java/com/security/smith/asm/SmithMethodVisitor.java"; \
else \
echo "Version does not contain benchmark. Skipping modification."; \
fi
Expand Down

0 comments on commit 2272139

Please sign in to comment.