mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
Later we will use libcapstone to disassemble instructions of samples. Signed-off-by: Changbin Du <[email protected]> Reviewed-by: Adrian Hunter <[email protected]> Cc: [email protected] Cc: Thomas Richter <[email protected]> Cc: Andi Kleen <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected]
12 lines
157 B
C
12 lines
157 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#include <capstone/capstone.h>
|
|
|
|
int main(void)
|
|
{
|
|
csh handle;
|
|
|
|
cs_open(CS_ARCH_X86, CS_MODE_64, &handle);
|
|
return 0;
|
|
}
|