stdarch-test: Ignore {evex} prefix emitted by recent objdump

This commit is contained in:
Amanieu d'Antras 2023-04-08 19:43:43 +02:00
parent 221eb88986
commit acee6b804a

View File

@ -148,7 +148,7 @@ fn parse(output: &str) -> HashSet<Function> {
instruction
.split_whitespace()
.skip(1)
.skip_while(|s| *s == "lock") // skip x86-specific prefix
.skip_while(|s| *s == "lock" || *s == "{evex}") // skip x86-specific prefix
.map(std::string::ToString::to_string)
.collect::<Vec<String>>()
};