Clang's new __builtin_dynamic_object_size can help detect more buffer overflows at runtime automatically. https://clang.llvm.org/docs/LanguageExtensions.html#evaluating-object-size-dynamically …
-
Show this thread
-
Note that I believe the allocation function needs to have the alloc_size attribute for this to work.
3 replies 0 retweets 2 likesShow this thread -
Replying to @yabbadabbadrew
And now I get to fight the Linux kernel's delightful kmalloc() users who will sometimes use the bytes beyond the initial allocation size when the backing allocation area is technically larger. :P
2 replies 0 retweets 1 like -
Replying to @kees_cook @yabbadabbadrew
there are only something like 22 calls to ksize() that I can see...
2 replies 0 retweets 0 likes
load_microcode_amd() is pretty gross
7:21 PM - 14 Feb 2019
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.