The `sizeof(preload_core)` here evaluates the size of a pointer rather
than the string behind it (unlike for `VG_PLATFORM` which is a
macro).
paths. We might not need the space for vgpreload_<tool>.so, but it
doesn't hurt to over-allocate briefly. The 16s are just cautious
slop. */
- Int preload_core_path_len = vglib_len + sizeof(preload_core)
+ Int preload_core_path_len = vglib_len + VG_(strlen)(preload_core)
+ sizeof(VG_PLATFORM) + 16;
Int preload_tool_path_len = vglib_len + VG_(strlen)(toolname)
+ sizeof(VG_PLATFORM) + 16;