I've noticed a couple of areas where we can accelerate our handling of UNICODE_STIRNGs: 1. Specify the bootstrap blocklist in terms of literal UNICODE_STRINGs instead of wide string literals; this allows us to drop the RtlInitUnicodeString which must essentially do a wcslen to determine the length. 2. Modify the checks for special DLL names to fail if the input string is too short to possibly pass the check.
Attachment #8991471 - Flags: review?(mhowell) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/de4058a2b443 Faster handling of UNICODE_STRINGs in bootstrap blocklist; r=mhowell
You need to log in before you can comment on or make changes to this bug.