Nguyen Anh Quynh
|
76c1c3c4e9
|
merge next to master
|
2018-07-20 12:36:50 +08:00 |
Richard Henderson
|
5423b215bf
|
Constify backend data (#1040)
* Constify string literals
Use -Wwrite-strings to force string literals to be of
type "const char[]", then fix up all warning fallout.
* Constify common infrastructure
Step one in allowing backend data to be readonly.
Minimal changes to backends for now; just set all pointers
in common structs that aren't modified to const.
* Constify AArch64 backend
Section size changes within libcapstone.so are
-.rodata 602587
-.data.rel.ro 228416
-.data 1003746
+.rodata 769051
+.data.rel.ro 241120
+.data 824578
* Constify ARM backend
Section size changes within libcapstone.so are
-.rodata 769051
-.data.rel.ro 241120
-.data 824578
+.rodata 959835
+.data.rel.ro 245120
+.data 629506
* Constify Mips backend
Section size changes within libcapstone.so are
-.rodata 959835
-.data.rel.ro 245120
-.data 629506
+.rodata 1069851
+.data.rel.ro 256416
+.data 508194
* Constify PowerPC backend
Section size changes within libcapstone.so are
-.rodata 1069851
-.data.rel.ro 256416
-.data 508194
+.rodata 1142715
+.data.rel.ro 272224
+.data 419490
* Constify Sparc backend
Section size changes within libcapstone.so are
-.rodata 1142715
-.data.rel.ro 272224
-.data 419490
+.rodata 1175227
+.data.rel.ro 277536
+.data 381666
* Constify SystemZ backend
Section size changes within libcapstone.so are
-.rodata 1175227
-.data.rel.ro 277536
-.data 381666
+.rodata 1221883
+.data.rel.ro 278016
+.data 334498
* Constify X86 backend
Section size changes within libcapstone.so are
-.rodata 1221883
-.data.rel.ro 278016
-.data 334498
+.rodata 1533531
+.data.rel.ro 281184
+.data 19714
* Constify XCore backend
Section size changes within libcapstone.so are
-.rodata 1533531
-.data.rel.ro 281184
-.data 19714
+.rodata 1553026
+.data.rel.ro 281280
+.data 40
|
2017-10-22 08:45:40 +08:00 |
tandasat
|
d4ef430b33
|
port Windows driver support
|
2016-05-11 21:48:32 -07:00 |
Nguyen Anh Quynh
|
3f461adae3
|
remove myinttypes.h
|
2016-04-26 09:47:30 +08:00 |
Cr4sh
|
19ee2d10b3
|
inttypes.h fix
|
2015-03-29 21:16:38 +08:00 |
Cr4sh
|
9d60607645
|
inttypes.h fix
|
2015-03-29 18:29:06 +08:00 |
Nguyen Anh Quynh
|
b8ffb86b02
|
ppc: fix a bug in QPX mode & add some QPX alias instructions.
|
2015-03-12 16:52:31 +08:00 |
Nguyen Anh Quynh
|
bfcaba5851
|
2015
|
2015-03-04 17:45:23 +08:00 |
Nguyen Anh Quynh
|
0be9eab6ba
|
ppc: update core
|
2015-03-04 17:06:48 +08:00 |
Yegor Derevenets
|
ced9d24e35
|
Workaround missing <inttypes.h> on MSVC 2010
|
2014-09-21 17:27:11 +02:00 |
Nguyen Anh Quynh
|
9d6383973f
|
ppc: move our own alias instructions to PPCInstPrinter.c to isolate them from auto-gen code of LLVM
|
2014-09-20 12:02:19 +08:00 |
kratolp
|
87736c1e5e
|
Update alias of PPC branch instructions
|
2014-09-16 17:13:39 +02:00 |
Nguyen Anh Quynh
|
f46ef2e0fe
|
ppc: alias instruction for 'gBC 4, 2, target' to 'bne target'. issue reported by @kratolp
|
2014-09-15 12:12:10 +08:00 |
Nguyen Anh Quynh
|
721d07f6b2
|
ppc: support alias instructions. update Python & Java bindings accordingly
|
2014-09-04 12:03:31 +08:00 |
Nguyen Anh Quynh
|
4c95022c74
|
fix warnings on unused variables when compiling in Diet mode
|
2014-08-27 18:33:38 +08:00 |
Nguyen Anh Quynh
|
14b684e07d
|
last commit missed a check
|
2014-08-25 23:45:52 +08:00 |
Nguyen Anh Quynh
|
b1e87e3e31
|
arm, mips, ppc, spac, x86: printAliasInstr() should handle \t (besides space) as separate char between mnemonic & operands
|
2014-08-25 23:27:33 +08:00 |
Nguyen Anh Quynh
|
dd3deec1e9
|
ppc: update core. this added new instructions, groups & registers. updated Python & Java bindings accordingly
|
2014-08-15 13:26:12 +08:00 |
Nguyen Anh Quynh
|
7f15f67544
|
ppc: use SStream_concat0() instead of SStream_concat() for simple string processing whenever possible
|
2014-06-16 12:11:50 +08:00 |
Nguyen Anh Quynh
|
f721e3124d
|
Disassembler -> Disassembly
|
2014-05-27 10:45:58 +08:00 |
Nguyen Anh Quynh
|
2eb37ee02a
|
ppc: disable some redundant functions when Diet option is enable
|
2014-03-28 10:38:55 +08:00 |
Nguyen Anh Quynh
|
fc83a439e5
|
add diet compile option (CAPSTONE_DIET option in config.mk). This reduces binary size by around 40%
|
2014-02-22 23:26:27 +08:00 |
Nguyen Anh Quynh
|
8b915ed765
|
ppc: update core
|
2014-02-19 17:01:44 +08:00 |
Nguyen Anh Quynh
|
a9ffb440f8
|
replace strdup() with our cs_strdup(), which call cs_mem_malloc() internally
|
2014-01-15 18:27:01 +08:00 |
Nguyen Anh Quynh
|
e51e227409
|
ppc & x86: add third dummy MRI argument to printInstruction() to make it consistent with other archs
|
2014-01-12 20:27:54 +08:00 |
Nguyen Anh Quynh
|
24bf0d9079
|
add new option CS_OPT_MEM for cs_option(): this enable user-defined dynamic memory management. idea proposed by Pancake
|
2014-01-05 11:19:04 +08:00 |
Nguyen Anh Quynh
|
f1d489b949
|
ppc: support details information
|
2014-01-05 00:00:05 +08:00 |
Nguyen Anh Quynh
|
cef6b27e95
|
remove -x from PPC files
|
2013-12-31 23:36:12 +08:00 |
Nguyen Anh Quynh
|
bacf4c8156
|
add the missing arch/PowerPC directory
|
2013-12-30 00:29:32 +08:00 |