17 ms·
I recently gave a small talk about this and listed the applications I had for it in the past few years: - Test low memory environment - Add memory tracking -
by sherincall 8y ago
I recently gave a small talk about this and listed the applications I had for it in the past few years:
- Test low memory environment
- Add memory tracking
- Ignore double frees (fix broken programs)
- Cache allocations / lookaside lists
- Trace all file operations
- Seamlessly open compressed files with fopen()
- Speed up time() as program sees it
- Offset time() to bypass evaluation periods
- Alternative PRNG
- Intercept/reroute network sockets
- Trace various API calls (useful when debugging graphics APIs)
- Force parameters to some API calls
- Set a custom resolution not supported by program
- Switch between HW and SW cursor rendering
- Framelimiting and FPS reporting
- Replace a library with a different one through a compat layer
- Frame buffer postprocessing (e.g. reshade.me)
- Overlays (e.g. steam)
E: format