Skip to content
Snippets Groups Projects
Commit f32cb6e4 authored by practicalswift's avatar practicalswift
Browse files

Simplify crash case.

parent ca2ad3f0
Branches
Tags
No related merge requests found
......@@ -3,9 +3,7 @@ int main(int argc, char **argv) {
int ks_arch = KS_ARCH_X86, ks_mode = KS_MODE_64;
unsigned char assembly[] = {
'c', 'L', '-', 'e', 'c', 'L', '-', 'e', 'c', '*',
'c', 'L', '-', 'e', 'e', 'c', '*', 'c', 'L', '-',
'e', 'c', '-', 0x82, 'c', '-', 0x82, 'c', 'L', 'c',
'L', '-', 'e', 'c', 'L', 'L', 0x00,
'c', 'L', '-', 'e', 'e', 'c', '*', 'c', 'L', 0x00,
};
ks_engine *ks;
ks_err err = ks_open(ks_arch, ks_mode, &ks);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment