HWBTutorials/HWBTutorials.code-workspace

199 lines
6.3 KiB
Text

{
"folders": [
{
"name": "Solution Items",
"path": "."
},
{
"path": "./hwb1"
},
{
"name": "AES",
"path": "./aes"
},
{
"name": "AES Performance",
"path": "./aes-performance"
},
{
"name": "AES 32-bit",
"path": "./aes-performance/aes-32bit"
},
{
"name": "AES TBoxes",
"path": "./aes-performance/aes-tboxes"
},
{
"name": "AES Intrinsic",
"path": "./aes-performance/aes-intrinsic"
},
{
"name": "DPA Attack",
"path": "./dpa-attack"
},
{
"name": "TRNG Attack",
"path": "./TRNG_attack"
}
],
"tasks": {
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "List Applets",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/list.cmd",
"problemMatcher": []
},
{
"label": "Flash MyApplet",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/flash.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "MyApplet",
"PARAMS": "31323334"
}
},
"problemMatcher": []
},
{
"label": "Flash SecretApplet",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/flash.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "SecretApplet"
}
},
"problemMatcher": []
},
{
"label": "Test MyApplet",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/test.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "MyApplet"
}
},
"problemMatcher": []
},
{
"label": "Test SecretApplet",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/test.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "SecretApplet"
}
},
"problemMatcher": []
},
{
"label": "Delete Applet",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/delete.cmd",
"problemMatcher": []
},
{
"label": "Build AES Project",
"type": "shell",
"command": "make",
"options": {
"cwd": "${workspaceFolder:AES}"
},
"problemMatcher": []
},
{
"label": "Build 32-bit AES Project",
"type": "shell",
"command": "make",
"options": {
"cwd": "${workspaceFolder:AES 32-bit}"
},
"problemMatcher": []
},
{
"label": "Build AES TBoxes Project",
"type": "shell",
"command": "make",
"options": {
"cwd": "${workspaceFolder:AES TBoxes}"
},
"problemMatcher": []
},
{
"label": "Build AES Intrinsic Project",
"type": "shell",
"command": "make",
"options": {
"cwd": "${workspaceFolder:AES Intrinsic}"
},
"problemMatcher": []
}
]
},
"launch": {
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Launch AES Project",
"program": "${workspaceFolder:AES}/bin/aes",
"args": [],
"cwd": "${workspaceFolder:AES}",
"preLaunchTask": "Build AES Project"
},
{
"type": "lldb",
"request": "launch",
"name": "Launch 32-bit AES Project",
"program": "${workspaceFolder:AES 32-bit}/bin/aes",
"args": [],
"cwd": "${workspaceFolder:AES 32-bit}",
"preLaunchTask": "Build 32-bit AES Project"
},
{
"type": "lldb",
"request": "launch",
"name": "Launch AES TBoxes Project",
"program": "${workspaceFolder:AES TBoxes}/bin/aes",
"args": [],
"cwd": "${workspaceFolder:AES TBoxes}",
"preLaunchTask": "Build AES TBoxes Project"
},
{
"type": "lldb",
"request": "launch",
"name": "Launch AES Intrinsic Project",
"program": "${workspaceFolder:AES Intrinsic}/bin/aes",
"args": [],
"cwd": "${workspaceFolder:AES Intrinsic}",
"preLaunchTask": "Build AES Intrinsic Project"
},
{
"type": "python",
"request": "launch",
"name": "Run TRNG Attack",
"program": "${workspaceFolder:TRNG Attack}/attack_student.py",
"args": [],
"cwd": "${workspaceFolder:TRNG Attack}"
}
],
"compounds": []
},
"settings": {
"cortex-debug.variableUseNaturalFormat": false
}
}