sca-fuzzer
sca-fuzzer copied to clipboard
ERROR: Unknown configuration variable enable_faulty_page. [in big-fuzz.yaml]
ERROR: Unknown configuration variable enable_faulty_page. It's likely a typo in the configuration file.
Then when this is commented out it throws an assembler error " 'generated.asm -o generated.o' returned nonzero exit status 1" , "Error: operand type mismatch for 'bt' ".
@LuChuanV Thanks for reporting the issue! This was indeed an outdated field; fixed now (see 493d347 ).
@griffinandrew I could not reproduce this issue. Could you post generated.asm
that triggered this error? Also, which branch are you using?
@OleksiiOleksenko Thanks for the quick reply, I believe the issue stems from the unavailability of vmlinux on ubuntu 22.04. When I make the kernel module it skips BTF generation which is exactly what the assembler errors on. It is very strange though, the other 2 basic configs listed in the readme run and terminate normally. I am on the main branch.
The error is thrown by the assembler when generator.py
executes as generated.asm -o generated.o
. This happens before the kernel module is ever called, so I doubt that the error has anything to do with vmlinux.
It looks like something is wrong with the assembler. Could you post the version you're using (run as -v
)?
Also, could you try assembling the following:
.intel_syntax noprefix
BTS EAX, -39
by running
as assembly_file.asm
The issue should be fixed now. Make sure clone the latest release or the top commit on the main
branch, and to re-run the download_spec
command to get an update specification of BT instructions.
@griffinandrew Could you confirm the fix on your setup?