From f3c17fff8d16d5287c9c707c664e027bb505d2af Mon Sep 17 00:00:00 2001 From: Arun Dhyani Date: Thu, 27 Feb 2025 21:14:41 +0530 Subject: [PATCH] feat: config for multithreaded 32 bit added --- profile/cannon/cannon-multithreaded-32.yaml | 159 ++++++++++++++++++++ 1 file changed, 159 insertions(+) create mode 100644 profile/cannon/cannon-multithreaded-32.yaml diff --git a/profile/cannon/cannon-multithreaded-32.yaml b/profile/cannon/cannon-multithreaded-32.yaml new file mode 100644 index 0000000..d95d990 --- /dev/null +++ b/profile/cannon/cannon-multithreaded-32.yaml @@ -0,0 +1,159 @@ +vm: Cannon +goos: linux +goarch: mips64 +ignored_functions: + - 'syscall.setrlimit' + - 'runtime.morestack' + - 'runtime.abort' + +allowed_opcodes: + - opcode: '0x2' + funct: [] + - opcode: '0x3' + funct: [] + - opcode: '0x4' + funct: [] + - opcode: '0x5' + funct: [] + - opcode: '0x6' + funct: [] + - opcode: '0x7' + funct: [] + - opcode: '0x1' + funct: [] + - opcode: '0x1a' + funct: [] + - opcode: '0x1b' + funct: [] + - opcode: '0x0' + funct: + - '0x0' + - '0x2' + - '0x3' + - '0x4' + - '0x6' + - '0x7' + - '0x8' + - '0x9' + - '0xa' + - '0xb' + - '0xc' + - '0xf' + - '0x10' + - '0x11' + - '0x12' + - '0x13' + - '0x18' + - '0x19' + - '0x1a' + - '0x1b' + - '0x20' + - '0x21' + - '0x22' + - '0x23' + - '0x24' + - '0x25' + - '0x26' + - '0x27' + - '0x2a' + - '0x2b' + - '0xa' + - '0xb' + - '0xc' + - opcode: '0x8' + funct: [] + - opcode: '0x9' + funct: [] + - opcode: '0xa' + funct: [] + - opcode: '0xb' + funct: [] + - opcode: '0xc' + funct: [] + - opcode: '0xd' + funct: [] + - opcode: '0xe' + funct: [] + - opcode: '0x1c' + funct: + - '0x2' + - '0x20' + - '0x21' + - opcode: '0xf' + funct: [] + - opcode: '0x20' + funct: [] + - opcode: '0x21' + funct: [] + - opcode: '0x22' + funct: [] + - opcode: '0x23' + funct: [] + - opcode: '0x24' + funct: [] + - opcode: '0x25' + funct: [] + - opcode: '0x26' + funct: [] + - opcode: '0x28' + funct: [] + - opcode: '0x29' + funct: [] + - opcode: '0x2a' + funct: [] + - opcode: '0x2b' + funct: [] + - opcode: '0x2e' + funct: [] + - opcode: '0x30' + funct: [] + - opcode: '0x38' + funct: [] +allowed_syscalls: + - 4090 + - 4045 + - 4120 + - 4246 + - 4003 + - 4004 + - 4055 + - 4222 + - 4001 + - 4238 + - 4162 + - 4166 + - 4005 + - 4263 + - 4020 +noop_syscalls: + - 4091 + - 4240 + - 4218 + - 4195 + - 4206 + - 4194 + - 4338 + - 4006 + - 4200 + - 4106 + - 4108 + - 4288 + - 4085 + - 4298 + - 4054 + - 4326 + - 4328 + - 4249 + - 4313 + - 4353 + - 4122 + - 4024 + - 4047 + - 4217 + - 4266 + - 4104 + - 4257 + - 4258 + - 4261 + - 4076 + - 4019