react-native-macos/ReactCommon/cxxreact
Daniel Andersson 709570acfb Add sanity checks to JSBigFileString
Summary:
When asking for the data of a JSBigFileString, check that the instance satisfies some basic invariants.

This is meant to catch any corruption issues as early as possible.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D22125436

fbshipit-source-id: e0a84752c86151d56b7e7cbed3b95650d8ba1f75
2020-06-18 20:51:59 -07:00
..
tests Replace fbsource// with // in xplat/js/ files [1] 2020-03-25 21:55:47 -07:00
.clang-tidy The life-changing magic of clang-tidying up 2020-02-04 11:09:30 -08:00
Android.mk Rename <ReactCommon/NativeModulePerfLogger.h> to <reactperflogger/NativeModulePerfLogger.h> 2020-05-15 15:25:23 -07:00
BUCK Move error handling with JSI into a separate helper function (#29090) 2020-06-10 10:31:46 -07:00
CxxModule.h Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00
CxxNativeModule.cpp Instrument sync and async method calls (#28893) 2020-05-13 20:28:18 -07:00
CxxNativeModule.h Instrument sync and async method calls (#28893) 2020-05-13 20:28:18 -07:00
ErrorUtils.h Add non-fatal error handling 2020-06-18 16:58:21 -07:00
Instance.cpp A corner case check in `Instance::handleMemoryPressure` 2020-05-29 20:38:25 -07:00
Instance.h Expose RuntimeExecutor on CatalystInstance (#28851) 2020-05-08 16:13:42 -07:00
JSBigString.cpp Add sanity checks to JSBigFileString 2020-06-18 20:51:59 -07:00
JSBigString.h Tidy up license headers [1/n] 2019-10-16 10:06:33 -07:00
JSBundleType.cpp Remove legacy bytecode handling 2020-06-16 02:12:09 -07:00
JSBundleType.h Remove legacy bytecode handling 2020-06-16 02:12:09 -07:00
JSDeltaBundleClient.cpp Resolve React-cxxreact warnings (#28047) 2020-02-12 23:49:15 -08:00
JSDeltaBundleClient.h Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00
JSExecutor.cpp Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00
JSExecutor.h Split loadApplicationScript into initializeRuntime and loadBundle (#27844) 2020-04-01 17:52:39 -07:00
JSIndexedRAMBundle.cpp Replace folly::make_unique with std::make_unique (#26730) 2019-10-22 12:21:41 -07:00
JSIndexedRAMBundle.h Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00
JSModulesUnbundle.h Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00
JsArgumentHelpers-inl.h Run clang-format and apply patches 2020-02-27 08:29:30 -08:00
JsArgumentHelpers.h Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00
MessageQueueThread.h Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00
MethodCall.cpp Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00
MethodCall.h Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00
ModuleRegistry.cpp Guard all NativeModulePerfLogger calls with a null check 2020-05-20 20:19:30 -07:00
ModuleRegistry.h Instrument sync and async method calls (#28893) 2020-05-13 20:28:18 -07:00
NativeModule.h Instrument sync and async method calls (#28893) 2020-05-13 20:28:18 -07:00
NativeToJsBridge.cpp Add non-fatal error handling 2020-06-18 16:58:21 -07:00
NativeToJsBridge.h Expose RuntimeExecutor on CatalystInstance (#28851) 2020-05-08 16:13:42 -07:00
RAMBundleRegistry.cpp Replace folly::make_unique with std::make_unique (#26730) 2019-10-22 12:21:41 -07:00
RAMBundleRegistry.h Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00
React-cxxreact.podspec Fix CircleCI by adding dependency on JSI to cxxreact (#29087) 2020-06-07 17:55:16 -07:00
ReactMarker.cpp Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00
ReactMarker.h Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00
ReactNativeVersion.h Stamp React Native Version Into C++ Code (#28036) 2020-02-27 06:42:14 -08:00
RecoverableError.h Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00
SampleCxxModule.cpp Replace folly::make_unique with std::make_unique (#26730) 2019-10-22 12:21:41 -07:00
SampleCxxModule.h Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00
SharedProxyCxxModule.h Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00
SystraceSection.h Remove __unused annotation from ConcreteSystraceSection ctor args 2019-11-19 10:51:59 -08:00
re_worker_requirements Sync worker requirement mismatches 2019-05-26 01:39:01 -07:00