skia2/gyp
mtklein 6fd4e44e23 msan: define BREAK_IF_DEBUGGING_AND_OUT_OF_RANGE in piex
This should assert(false) if we're in the error case of RangeCheckedBytePtr::extractBytes:

> #ifdef BREAK_IF_DEBUGGING_AND_OUT_OF_RANGE
>   #define BREAK_IF_DEBUGGING() assert(false)
> #else
>   #define BREAK_IF_DEBUGGING() assert(true)
> #endif
  ...
> std::vector<unsigned char> RangeCheckedBytePtr::extractBytes(size_t pos, size_t length) const {
>   std::vector<unsigned char> result;
>   if (pos + length < pos /* overflow */ || remainingLength() < pos + length) {
>     BREAK_IF_DEBUGGING();
>     error_flag_ = RANGE_CHECKED_BYTE_ERROR_OVERFLOW;
>     return result;
>   }
  ...

BUG=skia:4903
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1678913002

Review URL: https://codereview.chromium.org/1678913002
2016-02-08 09:35:05 -08:00
..
android_deps.gyp Fix gyp files so that gyp_to_Android.mk succeeds 2016-01-25 11:40:02 -08:00
android_framework_lib.gyp Move SkBitmapRegionDecoder to include/android and src/android 2015-11-13 06:11:09 -08:00
android_output.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
android_system.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
angle.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
animator.gyp Revert[8] "move some public headers into private" 2015-08-17 18:29:48 -07:00
apptype_console.gypi Remove all code related to NaCl 2015-04-02 12:16:36 -07:00
bench.gyp Move SkAndroidSDKCanvas to tools and ensure that it is built on all Android builds 2015-12-18 09:34:08 -08:00
bench.gypi Remove dependency on src/android from dm and nanobench 2015-11-13 09:59:11 -08:00
canvas_state_lib.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
codec_android.gyp Move SkBitmapRegionDecoder to include/android and src/android 2015-11-13 06:11:09 -08:00
codec.gyp Update SK_IMAGE_VERSION to test RAW 2016-02-02 11:56:33 -08:00
common_conditions.gypi try -O1 to speed up msan bot 2016-02-07 09:12:29 -08:00
common_variables.gypi SkMojo: test linking Skia against the Mojo SDK 2016-02-03 11:53:19 -08:00
common.gypi skia: Add ANGLE support on Mac 2015-10-28 08:42:29 -07:00
core.gyp Revert of Create an SkCodecImageGenerator (patchset #10 id:260001 of https://codereview.chromium.org/1487683004/ ) 2016-01-14 12:20:45 -08:00
core.gypi Add SkSpecialImage & SkSpecialSurface classes 2016-02-04 10:52:42 -08:00
debugger.gyp Add gpu implementation of OverdrawXfermode 2016-01-27 05:00:04 -08:00
dm.gyp Move SkAndroidSDKCanvas to tools and ensure that it is built on all Android builds 2015-12-18 09:34:08 -08:00
dm.gypi SkMojo: test linking Skia against the Mojo SDK 2016-02-03 11:53:19 -08:00
dng_sdk.gyp Update the dng_sdk version. The new version handles the posix_memalign() better 2016-02-03 00:50:10 -08:00
effects.gyp Move SkPixelXorXfermode.h to include/client/android 2016-02-01 04:54:15 -08:00
effects.gypi Move SkColorMatrixFilter implementation to core. 2016-02-01 12:09:07 -08:00
etc1.gyp Revert of Depend on ETC1 via DEPS instead of a direct third_party checkin. (patchset #1 id:1 of https://codereview.chromium.org/1296253003/ ) 2015-08-17 11:15:00 -07:00
everything.gyp Remove experimental/PdfViewer 2015-08-04 14:08:44 -07:00
example.gyp Create a standalone example for using Skia with SDL 2015-11-13 11:22:19 -08:00
expat.gyp msan: build expat from source 2016-02-07 13:31:23 -08:00
experimental.gyp experimental: remove old PDF benchmarking tools 2015-07-15 08:06:29 -07:00
FileReaderApp.gyp remove SkGPipe 2016-01-08 06:30:14 -08:00
find.py Sort build files for consistent link order. 2015-05-20 09:26:47 -07:00
flags.gyp Add config options to run different GPU APIs to dm and nanobench 2015-12-23 01:33:01 -08:00
freetype.gyp Update Android FreeType version. 2015-10-27 08:39:39 -07:00
freetype.gypi Update Android FreeType version. 2015-10-27 08:39:39 -07:00
fuzz.gyp Demo fuzz for Herb 2016-01-21 09:25:33 -08:00
giflib.gyp Update giflib to 5.1.1 (AOSP hash) 2015-08-24 12:00:15 -07:00
gmslides.gypi Move SkPixelXorXfermode.h to include/client/android 2016-02-01 04:54:15 -08:00
gpu.gyp skia: add ability to load command_buffer_gles2 2015-08-27 10:38:39 -07:00
gpu.gypi Make helper function on GrGLSLProgramDataManager non virtual 2016-02-03 09:52:51 -08:00
gputest.gyp Add include paths in gputest.gyp for use by additional gpu tests. 2015-08-14 08:37:50 -07:00
icu.gyp Revert "Factor out xcode c/cpp settings into variables to apply to cmake builds." 2016-02-03 13:06:28 -08:00
images.gyp Remove flag needed by outdated libpng 2015-12-10 14:45:03 -08:00
iOSShell.gyp Modify iOSShell-gyp to generate unique bundle identifier 2015-12-02 09:45:30 -08:00
json.gyp support for more features when rendering to/from JSON 2016-02-02 08:36:58 -08:00
jsoncpp.gyp Roll jsoncpp, drop dependency on Chromium overrides. 2014-08-19 07:21:00 -07:00
kilobench.gyp Now Kilobench times, exact same timing mechanism as nanobench 2016-01-15 10:00:08 -08:00
ktx.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
libjpeg-turbo-selector.gyp Remove dependencies on Android's forked decoder libraries 2015-11-06 11:15:49 -08:00
libjpeg-turbo.gyp Switch Skia's libjpeg-turbo to 1.4.2 2015-11-23 11:09:14 -08:00
libpng.gyp Fix the build on Android devices 2015-11-06 15:19:24 -05:00
libwebp_skia.gypi Comments Style: s/skbug.com/bug.skia.org/ 2015-11-07 05:29:00 -08:00
libwebp.gyp Update libwebp to version 0.5.0 2016-01-22 06:58:27 -08:00
lua.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
microhttpd.gyp Build and link microhttpd from gyp 2016-01-25 10:50:04 -08:00
most.gyp Initial support for turning Skia draws into a JSON document and vice versa. 2016-01-26 07:47:58 -08:00
nanomsg.gyp Experiment with find as a road to Gyp sanity. 2015-05-16 15:47:10 -07:00
opts.gyp spin off some safe parts from AVX2 CL 2016-01-25 09:26:54 -08:00
opts.gypi Revert of AVX 2 SrcOver blits: color32, blitmask. (patchset #24 id:450001 of https://codereview.chromium.org/1532613002/ ) 2016-01-25 08:54:50 -08:00
pathops_skpclip.gyp remove SkGPipe 2016-01-08 06:30:14 -08:00
pathops_unittest.gyp Make SkGLContext lifetime more well-defined 2016-01-06 23:49:31 -08:00
pathops_unittest.gypi More conic-specific tests revealed a few conic-specific bugs. Because javascript / canvas make visualizing conics tricky, new native tools are required. 2015-10-30 12:03:06 -07:00
pdf.gyp SkPDF: Optionally output PDF/A-2b archive format. 2015-10-12 10:11:18 -07:00
pdf.gypi SkPDF: Optionally output PDF/A-2b archive format. 2015-10-12 10:11:18 -07:00
piex.gyp msan: define BREAK_IF_DEBUGGING_AND_OUT_OF_RANGE in piex 2016-02-08 09:35:05 -08:00
ports.gyp msan: build expat from source 2016-02-07 13:31:23 -08:00
SampleApp.gyp add new tests 2016-01-30 10:11:21 -08:00
sdl.gyp Initial gyp files for SDL 2015-10-29 07:09:53 -07:00
sfnt.gyp Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00
sfntly.gyp Disable sanitizers with a blacklist. 2015-12-08 14:26:17 -08:00
SimpleCocoaApp.gyp Allows windowed apps to be built on the Mac just by writing a SkOSWindow subclass without needing nib/plist files. 2015-06-18 11:49:42 -07:00
SimpleiOSApp.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
skia_for_android_framework_defines.gypi SK_SUPPORT_LEGACY_DRAWFLTER typo 2016-01-25 06:23:54 -08:00
skia_for_chromium_defines.gypi Remove SK_IGNORE_GL_TEXTURE_TARGET from skia_for_chromium_defines.gypi 2015-12-07 14:05:31 -08:00
skia_launcher.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
skia_lib.gyp Move SkBitmapRegionDecoder to include/android and src/android 2015-11-13 06:11:09 -08:00
skiaserve.gyp Create image cache for use by json canvas 2016-02-08 07:08:21 -08:00
skmojo.gyp SkMojo: generate on Darwin/x86_64 2016-02-03 13:54:03 -08:00
svg.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
tests.gypi Add gpu implementation of OverdrawXfermode 2016-01-27 05:00:04 -08:00
tools.gyp Create image cache for use by json canvas 2016-02-08 07:08:21 -08:00
utils.gyp remove SkGPipe 2016-01-08 06:30:14 -08:00
utils.gypi Add ability to extract YUV planes from SkImage 2016-02-01 13:16:14 -08:00
v8.gyp Allows windowed apps to be built on the Mac just by writing a SkOSWindow subclass without needing nib/plist files. 2015-06-18 11:49:42 -07:00
views_animated.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
views.gyp bring up SDL on windows 2015-11-11 13:17:06 -08:00
visualbench.gyp Remove dependency on src/android from dm and nanobench 2015-11-13 09:59:11 -08:00
xml.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
xps.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
yasm.gyp simplify the way we disable sanitizers for yasm 2015-12-08 10:04:42 -08:00
zlib.gyp Always build our own zlib. 2016-02-03 07:06:27 -08:00