capstone

Форк
0

..
/
benchmark 
3 года назад
3 года назад
3 года назад
README.md

Benchmark

Build capstone

mkdir build
cd build
cmake ..
#This last command is also where you can pass additional CMake configuration flags
#using `-D<key>=<value>`. Then to build use:
cmake --build . --config Release
cd ..

Build benchmark

cd suite/benchmark
make

test_iter_benchmark

./test_iter_benchmark

test_file_benchmark

./test_file_benchmark

The optional test_file_benchmark arguments are:

  • [loop-count] = optional loop count. Total number of bytes decoded and formatted is <code-len> * [loop-count]
  • <code-offset> = offset of the code section (in decimal or 0x hex)
  • <code-len> = length of the code section (in decimal or 0x hex)
  • <filename> = 64-bit x86 binary file to decode and format

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.