Nguyen Anh Quynh | 59492c2 | 2014-01-05 23:41:31 +0800 | [diff] [blame] | 1 | # Comment out the line below 'USE_SYS_DYN_MEM = yes' if you do not want to use |
| 2 | # system's malloc()/calloc()/realloc()/free() for internal dynamic memory management. |
| 3 | # NOTE: in that case, your program must specify your own malloc/calloc/realloc/free |
| 4 | # functions with cs_option(), using CS_OPT_MEM option type. |
| 5 | USE_SYS_DYN_MEM = yes |
| 6 | |
Nguyen Anh Quynh | 5219f64 | 2013-12-22 13:00:48 +0800 | [diff] [blame] | 7 | # Specify which archs you want to compile in |
| 8 | CAPSTONE_ARCHS = |
danghvu | 6f52bf9 | 2013-12-19 22:43:01 -0600 | [diff] [blame] | 9 | |
Nguyen Anh Quynh | 0f9cb0f | 2013-12-28 14:12:54 +0800 | [diff] [blame] | 10 | # Comment the line below if you don't want to support ARM |
Nguyen Anh Quynh | f954f87 | 2013-12-22 18:49:22 +0800 | [diff] [blame] | 11 | CAPSTONE_ARCHS += arm |
Nguyen Anh Quynh | 5219f64 | 2013-12-22 13:00:48 +0800 | [diff] [blame] | 12 | |
Nguyen Anh Quynh | 0f9cb0f | 2013-12-28 14:12:54 +0800 | [diff] [blame] | 13 | # Comment the line below if you don't want to support ARM64 |
Nguyen Anh Quynh | f954f87 | 2013-12-22 18:49:22 +0800 | [diff] [blame] | 14 | CAPSTONE_ARCHS += aarch64 |
Nguyen Anh Quynh | 5219f64 | 2013-12-22 13:00:48 +0800 | [diff] [blame] | 15 | |
Nguyen Anh Quynh | 0f9cb0f | 2013-12-28 14:12:54 +0800 | [diff] [blame] | 16 | # Comment the line below if you don't want to support Mips |
Nguyen Anh Quynh | f954f87 | 2013-12-22 18:49:22 +0800 | [diff] [blame] | 17 | CAPSTONE_ARCHS += mips |
Nguyen Anh Quynh | 5219f64 | 2013-12-22 13:00:48 +0800 | [diff] [blame] | 18 | |
Nguyen Anh Quynh | 0f9cb0f | 2013-12-28 14:12:54 +0800 | [diff] [blame] | 19 | # Comment the line below if you don't want to support X86 |
Nguyen Anh Quynh | 5219f64 | 2013-12-22 13:00:48 +0800 | [diff] [blame] | 20 | CAPSTONE_ARCHS += x86 |
Nguyen Anh Quynh | 0f9cb0f | 2013-12-28 14:12:54 +0800 | [diff] [blame] | 21 | |
| 22 | # Comment the line below if you don't want to support PowerPC |
| 23 | CAPSTONE_ARCHS += powerpc |