This patch adds an addition test to test llvm-ifs's behavior when DT_STRSZ value from .dynamic is invalid
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60,030 ms | x64 debian > MLIR.Examples/standalone::test.toy | |
60,030 ms | x64 debian > libFuzzer.libFuzzer::large.test |
Event Timeline
llvm/test/tools/llvm-ifs/binary-read-bad-vaddr.test | ||
---|---|---|
61 | Rather than duplicating the YAML, you'd be better off using yaml2obj's -D option to parameterize the fields that vary between the two test cases. You can specify default values for fields using the variable defined by that option, so that you only need one -D per test case. | |
105 | This is essentially identical to ERR1, but with a different value. Perhaps use FileCheck -D to parameterize the value, rather than duplicating the entire message? |
Rather than duplicating the YAML, you'd be better off using yaml2obj's -D option to parameterize the fields that vary between the two test cases. You can specify default values for fields using the variable defined by that option, so that you only need one -D per test case.