Peter Matula 64769c5d6f
Optimize utils and file parsing to prevent timeouts in exotic files (#772)
* utils: optimize replaceNonprintableChars()

It turns out it can be used quite often in fileformat.

* utils/system: replace custom sleep() with std::this_thread::sleep_for()

* utils/test.h: remove, not used anywhere

* utils/file_i: break long lines

* utils/dynamic_buffer: break long lines

* utils/const: remove, not used anywhere

* utils/alignment: break long lines

* utils/byte_value_storage: break long lines

* utils/conversion: replace toString(0 with std::to_string()

* utils/conversion: remove unused functions

* utils/conversion: reduce usage of numToStr()

* progress

* utils/conversion: refactor hex-string conversions

* fileformat: optimize PeFormat::scanForSectionAnomalies()

* pelib/ImportDirectory: add guard against infinite cycle

* capstone2llvmirtool: fix compilation, add std:: namespace
2020-05-23 20:43:05 +02:00
..
2018-01-05 18:04:25 +01:00