tracy/server
Bartosz Taudul 764792d8db Try to not crash when opening invalid files.
Tracy will now perform a number of checks when trying to read a dump
file:
1. The file must have at least 4 bytes of data.
2. There should be a 4 byte header to indicate the file was saved by
   tracy. This is a breaking change in file format.
3. Old header-less files are still supported, but there's a new check
   for data validity. The first 4 bytes of file (as an uint32) must be
   less or equal to max LZ4 data packet size. This requires the first
   two bytes to be 00 00 or 00 01, which should catch most invalid
   files.
2018-04-21 14:53:40 +02:00
..
tracy_flat_hash_map.hpp Move nohash<> from TracyWorker to flat hash map. 2018-03-20 15:40:11 +01:00
tracy_pdqsort.h Force inline internal pdqsort functions. 2017-12-08 23:25:48 +01:00
TracyCharUtil.hpp Use flat hash map for string map. 2018-03-23 21:12:29 +01:00
TracyEvent.hpp Store MemEvents directly in the vector. 2018-04-03 14:17:51 +02:00
TracyFileHeader.hpp Try to not crash when opening invalid files. 2018-04-21 14:53:40 +02:00
TracyFileRead.hpp Try to not crash when opening invalid files. 2018-04-21 14:53:40 +02:00
TracyFileWrite.hpp Try to not crash when opening invalid files. 2018-04-21 14:53:40 +02:00
TracyImGui.hpp Remove +x flag from files. 2017-10-10 21:56:15 +02:00
TracyMemory.cpp Remove +x flag from files. 2017-10-10 21:56:15 +02:00
TracyMemory.hpp Remove +x flag from files. 2017-10-10 21:56:15 +02:00
TracyPopcnt.hpp TracyCountBits should be static inline. 2017-11-11 02:46:41 +01:00
TracySlab.hpp Optimize slab initializing allocation. 2017-11-19 13:53:39 +01:00
TracyVector.hpp Store MemEvents directly in the vector. 2018-04-03 14:17:51 +02:00
TracyView.cpp Use small buttons in statistics window. 2018-04-21 14:17:42 +02:00
TracyView.hpp Don't draw off-screen gpu zones. 2018-04-20 23:28:19 +02:00
TracyWorker.cpp Use static assert where static assert is due. 2018-04-21 14:47:15 +02:00
TracyWorker.hpp Throw exception when trying to open unsupported dump version. 2018-04-21 14:18:42 +02:00