Increased read buffer size in tools

This commit is contained in:
Joel Höner 2017-01-12 10:29:42 +01:00
parent 3b56c867fc
commit 67231ccdff
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ int main(int argc, char** argv)
return EXIT_FAILURE; return EXIT_FAILURE;
} }
uint8_t readBuf[ZYDIS_MAX_INSTRUCTION_LENGTH]; uint8_t readBuf[ZYDIS_MAX_INSTRUCTION_LENGTH * 1024];
size_t numBytesRead; size_t numBytesRead;
do do
{ {

View File

@ -77,7 +77,7 @@ int main()
return EXIT_FAILURE; return EXIT_FAILURE;
} }
uint8_t readBuf[ZYDIS_MAX_INSTRUCTION_LENGTH]; uint8_t readBuf[ZYDIS_MAX_INSTRUCTION_LENGTH * 1024];
size_t numBytesRead; size_t numBytesRead;
do do
{ {