Skip to content

Commit

Permalink
Merge pull request keystone-engine#150 from practicalswift/minimize-c…
Browse files Browse the repository at this point in the history
…rash-14-x64-invalid-accessor

Minimize crash case.
  • Loading branch information
aquynh committed May 31, 2016
2 parents a2b53c3 + 240fe21 commit 5f3c7cb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions suite/regress/c-crashers/crash-14-x64-invalid-accessor.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
int main(int argc, char **argv) {
int ks_arch = KS_ARCH_X86, ks_mode = KS_MODE_64;
unsigned char assembly[] = {
'A', 'A', 'F', '=', 'A', 'A', '-', '-', 'A', 0x0a,
'F', '=', 'A', 'd', '-', '5', ';', '.', '=', 'A',
'A', 'F', '-', 'A', 'A', 'F', 0x00,
'x', '=', 'y', '-', '-', 'y', ';', '.', '=', 'x',
'-', 'x', 0x00,
};
ks_engine *ks;
ks_err err = ks_open(ks_arch, ks_mode, &ks);
Expand Down

0 comments on commit 5f3c7cb

Please sign in to comment.