Size of hs_runtime
by Timo Kreuzer
Hi,
I built HS with Visual Studio and then built a simple cui app, linking to hs_runtime.lib. The app only calls hs_alloc_scratch and hs_scan. When I compile it as Release (with function level linking and LTCG enabled) the resulting executable is 1.7 MB in size, which is quite huge. Since I want to use it in kernel mode, I need to make this smaller. Are there any compile time flags I can use to disable feature I don't need?
Regards,
Timo Kreuzer
4 years, 11 months