make get_offsets executable

This commit is contained in:
Dominik Maier
2021-03-12 03:47:12 +01:00
parent d32b1d6b0c
commit 3753f56c25
2 changed files with 2 additions and 2 deletions

View File

@ -1597,8 +1597,8 @@ int main(int argc, char **argv_orig, char **envp) {
// only reinitialize when it makes sense // only reinitialize when it makes sense
if ((map_size < new_map_size || if ((map_size < new_map_size ||
(new_map_size != MAP_SIZE && new_map_size < map_size && (new_map_size != MAP_SIZE && new_map_size < map_size &&
map_size - new_map_size > MAP_SIZE))) { map_size - new_map_size > MAP_SIZE))) {
OKF("Re-initializing maps to %u bytes", new_map_size); OKF("Re-initializing maps to %u bytes", new_map_size);

0
unicorn_mode/samples/speedtest/get_offsets.py Normal file → Executable file
View File