commit | ac98ca01292b51ff18d3ff28dba2e8f4647e54e1 | [log] [tgz] |
---|---|---|
author | Nguyen Anh Quynh <aquynh@gmail.com> | Tue Sep 30 13:17:36 2014 +0800 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Tue Sep 30 13:17:36 2014 +0800 |
tree | 552298461d4e7a74889e1844afdb4502a3df7960 | |
parent | 39eb84a9b10b60730919897ecb322b6641772318 [diff] |
set buffer size for instruction cache in cs_disasm() to @count if @count > 0. this avoids realloc() in cases where @count is pre-determined. thanks Dang Hoang Vu for the idea