Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
plugin_cache_blocks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OTAWA-plugins
plugin_cache_blocks
Commits
9ca9a251
Commit
9ca9a251
authored
3 years ago
by
Bouquillon Fabien
Browse files
Options
Downloads
Patches
Plain Diff
modification
parent
7e5484c4
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
vulnerability/generate_profile.sh
+11
-4
11 additions, 4 deletions
vulnerability/generate_profile.sh
vulnerability/include/vulnerability.h
+1
-1
1 addition, 1 deletion
vulnerability/include/vulnerability.h
vulnerability/vulnerability.so
+0
-0
0 additions, 0 deletions
vulnerability/vulnerability.so
with
12 additions
and
5 deletions
vulnerability/generate_profile.sh
+
11
−
4
View file @
9ca9a251
...
...
@@ -11,15 +11,19 @@ CACHE_END=.xml
mkdir
$VULNERABLE_TASKS_DIRECTORY_ECC
for
CACHE
in
cache_16KB_1w_20 cache_16KB_1w_50 cache_16KB_2w_20 cache_16KB_2w_50
#cache_16KB_1w_100 cache_16KB_1w_200 cache_16KB_2w_50 cache_16KB_2w_100 cache_16KB_2w_200 #cache_2KB_1w_50 cache_4KB_1w_50 cache_8KB_1w_50 cache_16KB_1w_50 cache_2KB_2w_50 cache_4KB_2w_50 cache_8KB_2w_50 cache_16KB_2w_50 cache_2KB_4w_50 cache_4KB_4w_50 cache_8KB_4w_50 cache_16KB_4w_50
for
CACHE
in
cache_16KB_1w_20 cache_16KB_1w_50 cache_16KB_2w_20 cache_16KB_2w_50
do
mkdir
$VULNERABLE_TASKS_DIRECTORY$CACHE
mkdir
$VULNERABLE_TASKS_DIRECTORY_ECC$CACHE
done
##############################
# cache invalidation #
##############################
# for TASK in crc expint fibcall lcdnum duff binarysearch ns ludcmp fir2dim iir complex_updates cnt insersort ud #nsichneu
# do
# for CACHE in cache_16KB_1w_20 cache_16KB_1w_50 cache_16KB_2w_20 cache_16KB_2w_50
#cache_16KB_2w_50 cache_16KB_2w_100 cache_16KB_2w_200 cache_16KB_1w_50 cache_16KB_1w_100 cache_16KB_1w_200 #cache_2KB_1w_50 cache_4KB_1w_50 cache_8KB_1w_50 cache_16KB_1w_50 cache_2KB_2w_50 cache_4KB_2w_50 cache_8KB_2w_50 cache_16KB_2w_50 cache_2KB_4w_50 cache_4KB_4w_50 cache_8KB_4w_50 cache_16KB_4w_50
# for CACHE in cache_16KB_1w_20 cache_16KB_1w_50 cache_16KB_2w_20 cache_16KB_2w_50
# do
# echo "process:"$TASK$DIR_SEPARATOR$CACHE
# ./application $TASKS_DIRECTORY$TASK$TASK_END $TASKS_DIRECTORY$TASK$FF_END $VULNERABLE_TASKS_DIRECTORY$CACHE$DIR_SEPARATOR$TASK$DATA_END ./cache/$CACHE$CACHE_END 0
...
...
@@ -27,10 +31,13 @@ done
# done
##############################
# ECC #
##############################
for
TASK
in
crc expint fibcall lcdnum duff binarysearch ns ludcmp fir2dim iir complex_updates cnt insersort ud
#nsichneu
for
TASK
in
crc expint fibcall lcdnum duff binarysearch ns ludcmp fir2dim iir complex_updates cnt insersort ud
do
for
CACHE
in
cache_16KB_1w_20 cache_16KB_1w_50 cache_16KB_2w_20 cache_16KB_2w_50
#cache_16KB_1w_50 cache_16KB_1w_100 cache_16KB_1w_200 #cache_2KB_1w_50 cache_4KB_1w_50 cache_8KB_1w_50 cache_16KB_1w_50 cache_2KB_2w_50 cache_4KB_2w_50 cache_8KB_2w_50 cache_16KB_2w_50 cache_2KB_4w_50 cache_4KB_4w_50 cache_8KB_4w_50 cache_16KB_4w_50
for
CACHE
in
cache_16KB_1w_20 cache_16KB_1w_50 cache_16KB_2w_20 cache_16KB_2w_50
do
echo
"process:"
$TASK$DIR_SEPARATOR$CACHE
./application
$TASKS_DIRECTORY$TASK$TASK_END
$TASKS_DIRECTORY$TASK$FF_END
$VULNERABLE_TASKS_DIRECTORY_ECC$CACHE$DIR_SEPARATOR$TASK$DATA_END
./cache/
$CACHE$CACHE_END
1
...
...
This diff is collapsed.
Click to expand it.
vulnerability/include/vulnerability.h
+
1
−
1
View file @
9ca9a251
...
...
@@ -18,7 +18,7 @@
#include
<otawa/cache/LBlock.h>
#include
"type.h"
#define ECC_WCET
3
#define ECC_WCET
16
#define SA_WCET 33
#define DM_WCET 3
...
...
This diff is collapsed.
Click to expand it.
vulnerability/vulnerability.so
+
0
−
0
View file @
9ca9a251
No preview for this file type
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment