diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-09-22 09:22:53 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-09-22 09:22:53 +0000 |
commit | b45deab6740bd2ee4276fc3564cfc25584e2b849 (patch) | |
tree | 7b8d79deb1c7bcbbb8abff0ff49ccc59e3461e50 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | f631191305054cc711bc7820ff50a6afb6d7119f (diff) | |
download | llvm-b45deab6740bd2ee4276fc3564cfc25584e2b849.zip llvm-b45deab6740bd2ee4276fc3564cfc25584e2b849.tar.gz llvm-b45deab6740bd2ee4276fc3564cfc25584e2b849.tar.bz2 |
[llvm-mc-fuzzer] Support untested instruction discovery for variable length instruction sets like microMIPS.
Summary:
For fixed length instructions, we can use -max_len to limit the fuzzer to a
single instruction. This doesn't work for variable length instruction sets
since a 4-byte input could consist of one 4-byte instruction or two 2-byte
instructions.
This patch adds a --insn-limit to llvm-mc-fuzzer to limit the input in
terms of instructions processed.
Reviewers: kcc
Subscribers: kcc, llvm-commits
Differential Revision: http://reviews.llvm.org/D12960
llvm-svn: 248253
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions