virgil-crypto 2.0.2b0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.gitmodules +3 -0
- data/Gemfile +4 -0
- data/README.md +36 -0
- data/Rakefile +12 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/ext/native/extconf.rb +25 -0
- data/ext/native/src/.gitignore +17 -0
- data/ext/native/src/.travis.yml +50 -0
- data/ext/native/src/CMakeLists.txt +336 -0
- data/ext/native/src/ChangeLog +440 -0
- data/ext/native/src/Jenkinsfile +208 -0
- data/ext/native/src/LICENSE +33 -0
- data/ext/native/src/README.md +195 -0
- data/ext/native/src/VERSION +1 -0
- data/ext/native/src/benchmark/CMakeLists.txt +52 -0
- data/ext/native/src/benchmark/benchmark_cipher.cxx +99 -0
- data/ext/native/src/benchmark/benchmark_hash.cxx +85 -0
- data/ext/native/src/benchmark/benchmark_signer.cxx +89 -0
- data/ext/native/src/benchmark/benchpress.hpp +464 -0
- data/ext/native/src/benchmark/cxxopts.hpp +1312 -0
- data/ext/native/src/ci/configure.sh +71 -0
- data/ext/native/src/ci/install-cmake.sh +48 -0
- data/ext/native/src/ci/install-credentials.sh +45 -0
- data/ext/native/src/ci/install-doxygen.sh +48 -0
- data/ext/native/src/ci/install-phpunit.sh +47 -0
- data/ext/native/src/ci/install-swig.sh +47 -0
- data/ext/native/src/ci/publish-docs.sh +125 -0
- data/ext/native/src/ci/run.sh +55 -0
- data/ext/native/src/ci/travis_ci_rsa.enc +0 -0
- data/ext/native/src/cmake/android.toolchain.cmake +1697 -0
- data/ext/native/src/cmake/apple.toolchain.cmake +323 -0
- data/ext/native/src/cmake/aux_source_directory_to_file.cmake +70 -0
- data/ext/native/src/cmake/check_pointer_size.cmake +64 -0
- data/ext/native/src/cmake/cmake_args.cmake +64 -0
- data/ext/native/src/cmake/copy_all_files.cmake +70 -0
- data/ext/native/src/cmake/file_regex_replace.cmake +69 -0
- data/ext/native/src/cmake/find_host_utils.cmake +54 -0
- data/ext/native/src/cmake/pnacl.toolchain.cmake +87 -0
- data/ext/native/src/cmake/uppercase_first_char.cmake +45 -0
- data/ext/native/src/cmake/uppercase_namespaces.cmake +86 -0
- data/ext/native/src/cmake/virgil_depends.cmake +53 -0
- data/ext/native/src/cmake/virgil_depends_local.cmake +325 -0
- data/ext/native/src/docs/.gitignore +0 -0
- data/ext/native/src/lib/CMakeLists.txt +162 -0
- data/ext/native/src/lib/Doxyfile.in +2310 -0
- data/ext/native/src/lib/cmake/config.cmake.in +40 -0
- data/ext/native/src/lib/include/CMakeLists.txt +68 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilByteArray.h +143 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilByteArrayUtils.h +121 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilChunkCipher.h +117 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilCipher.h +93 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilCipherBase.h +302 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilCryptoError.h +136 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilCryptoException.h +117 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilCustomParams.h +159 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilDataSink.h +77 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilDataSource.h +66 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilKeyPair.h +274 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilSigner.h +84 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilStreamCipher.h +99 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilStreamSigner.h +80 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilTinyCipher.h +283 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilVersion.h +88 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilAsymmetricCipher.h +395 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilBase64.h +70 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilHash.h +261 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilKDF.h +175 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilPBE.h +164 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilPBKDF.h +198 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilRandom.h +121 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilSymmetricCipher.h +305 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilSystemCryptoError.h +149 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/asn1/VirgilAsn1Compatible.h +100 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/asn1/VirgilAsn1Reader.h +179 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/asn1/VirgilAsn1Writer.h +241 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/asn1/internal/VirgilAsn1Alg.h +114 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSContent.h +113 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSContentInfo.h +91 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSEncryptedContent.h +90 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSEnvelopedData.h +116 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSKeyTransRecipient.h +103 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSPasswordRecipient.h +98 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/internal/VirgilOID.h +81 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/internal/VirgilTagFilter.h +95 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/internal/mbedtls_context.h +93 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/internal/mbedtls_context_policy_spec.h +231 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/internal/mbedtls_type_utils.h +407 -0
- data/ext/native/src/lib/include/virgil/crypto/internal/utils.h +58 -0
- data/ext/native/src/lib/include/virgil/crypto/stream/VirgilBytesDataSink.h +84 -0
- data/ext/native/src/lib/include/virgil/crypto/stream/VirgilBytesDataSource.h +90 -0
- data/ext/native/src/lib/include/virgil/crypto/stream/VirgilStreamDataSink.h +79 -0
- data/ext/native/src/lib/include/virgil/crypto/stream/VirgilStreamDataSource.h +84 -0
- data/ext/native/src/lib/mainpage.dox +60 -0
- data/ext/native/src/lib/src/VirgilAsn1Alg.cxx +122 -0
- data/ext/native/src/lib/src/VirgilAsn1Compatible.cxx +67 -0
- data/ext/native/src/lib/src/VirgilAsn1Reader.cxx +190 -0
- data/ext/native/src/lib/src/VirgilAsn1Writer.cxx +329 -0
- data/ext/native/src/lib/src/VirgilAsymmetricCipher.cxx +633 -0
- data/ext/native/src/lib/src/VirgilBase64.cxx +94 -0
- data/ext/native/src/lib/src/VirgilByteArrayUtils.cxx +222 -0
- data/ext/native/src/lib/src/VirgilCMSContent.cxx +124 -0
- data/ext/native/src/lib/src/VirgilCMSContentInfo.cxx +111 -0
- data/ext/native/src/lib/src/VirgilCMSEncryptedContent.cxx +84 -0
- data/ext/native/src/lib/src/VirgilCMSEnvelopedData.cxx +131 -0
- data/ext/native/src/lib/src/VirgilCMSKeyTransRecipient.cxx +96 -0
- data/ext/native/src/lib/src/VirgilCMSPasswordRecipient.cxx +93 -0
- data/ext/native/src/lib/src/VirgilChunkCipher.cxx +215 -0
- data/ext/native/src/lib/src/VirgilCipher.cxx +92 -0
- data/ext/native/src/lib/src/VirgilCipherBase.cxx +340 -0
- data/ext/native/src/lib/src/VirgilCryptoError.cxx +88 -0
- data/ext/native/src/lib/src/VirgilCryptoException.cxx +84 -0
- data/ext/native/src/lib/src/VirgilCustomParams.cxx +193 -0
- data/ext/native/src/lib/src/VirgilDataSink.cxx +46 -0
- data/ext/native/src/lib/src/VirgilHash.cxx +269 -0
- data/ext/native/src/lib/src/VirgilKDF.cxx +209 -0
- data/ext/native/src/lib/src/VirgilKeyPair.cxx +165 -0
- data/ext/native/src/lib/src/VirgilPBE.cxx +215 -0
- data/ext/native/src/lib/src/VirgilPBKDF.cxx +286 -0
- data/ext/native/src/lib/src/VirgilRandom.cxx +112 -0
- data/ext/native/src/lib/src/VirgilSigner.cxx +91 -0
- data/ext/native/src/lib/src/VirgilStreamCipher.cxx +116 -0
- data/ext/native/src/lib/src/VirgilStreamSigner.cxx +98 -0
- data/ext/native/src/lib/src/VirgilSymmetricCipher.cxx +369 -0
- data/ext/native/src/lib/src/VirgilSystemCryptoError.cxx +58 -0
- data/ext/native/src/lib/src/VirgilTagFilter.cxx +76 -0
- data/ext/native/src/lib/src/VirgilTinyCipher.cxx +648 -0
- data/ext/native/src/lib/src/VirgilVersion.cxx.in +28 -0
- data/ext/native/src/lib/src/stream/VirgilBytesDataSink.cxx +61 -0
- data/ext/native/src/lib/src/stream/VirgilBytesDataSource.cxx +68 -0
- data/ext/native/src/lib/src/stream/VirgilStreamDataSink.cxx +57 -0
- data/ext/native/src/lib/src/stream/VirgilStreamDataSource.cxx +68 -0
- data/ext/native/src/libs_ext/mbedtls/configs/config.h +84 -0
- data/ext/native/src/libs_ext/mbedtls/configs/config_desktop.h +13 -0
- data/ext/native/src/libs_ext/mbedtls/configs/config_pnacl.h +8 -0
- data/ext/native/src/libs_ext/mbedtls/mbedtls.cmake +102 -0
- data/ext/native/src/libs_ext/rapidjson/rapidjson.cmake +61 -0
- data/ext/native/src/libs_ext/tinyformat/cmake/config.cmake.in +43 -0
- data/ext/native/src/libs_ext/tinyformat/src/tinyformat.h +1003 -0
- data/ext/native/src/libs_ext/tinyformat/tinyformat.cmake +77 -0
- data/ext/native/src/migration-2.0.md +108 -0
- data/ext/native/src/tests/CMakeLists.txt +50 -0
- data/ext/native/src/tests/catch.hpp +10200 -0
- data/ext/native/src/tests/test_asn1_writer.cxx +268 -0
- data/ext/native/src/tests/test_asymmetric_cipher.cxx +140 -0
- data/ext/native/src/tests/test_base64.cxx +102 -0
- data/ext/native/src/tests/test_byte_array_utils.cxx +102 -0
- data/ext/native/src/tests/test_chunk_cipher.cxx +310 -0
- data/ext/native/src/tests/test_cipher.cxx +402 -0
- data/ext/native/src/tests/test_cipher_base.cxx +353 -0
- data/ext/native/src/tests/test_contract_copy_move.cxx +131 -0
- data/ext/native/src/tests/test_hash.cxx +153 -0
- data/ext/native/src/tests/test_key_pair.cxx +204 -0
- data/ext/native/src/tests/test_pbe.cxx +95 -0
- data/ext/native/src/tests/test_pbkdf.cxx +368 -0
- data/ext/native/src/tests/test_random.cxx +93 -0
- data/ext/native/src/tests/test_runner.cxx +43 -0
- data/ext/native/src/tests/test_signer.cxx +111 -0
- data/ext/native/src/tests/test_stream_cipher.cxx +277 -0
- data/ext/native/src/tests/test_symmetric_cipher.cxx +105 -0
- data/ext/native/src/tests/test_tag_filter.cxx +74 -0
- data/ext/native/src/tests/test_tiny_cipher.cxx +172 -0
- data/ext/native/src/utils/build.bat +274 -0
- data/ext/native/src/utils/build.sh +354 -0
- data/ext/native/src/utils/env.sh +39 -0
- data/ext/native/src/utils/zip.vbs +45 -0
- data/ext/native/src/wrappers/CMakeLists.txt +63 -0
- data/ext/native/src/wrappers/asmjs/CMakeLists.txt +109 -0
- data/ext/native/src/wrappers/asmjs/error.js +41 -0
- data/ext/native/src/wrappers/asmjs/example.html +77 -0
- data/ext/native/src/wrappers/asmjs/helpers.js +155 -0
- data/ext/native/src/wrappers/asmjs/patch_embind.pl +115 -0
- data/ext/native/src/wrappers/asmjs/wrapper.cxx +340 -0
- data/ext/native/src/wrappers/java/CMakeLists.txt +156 -0
- data/ext/native/src/wrappers/java/src/VirgilStreamDataSink.java +62 -0
- data/ext/native/src/wrappers/java/src/VirgilStreamDataSource.java +72 -0
- data/ext/native/src/wrappers/net/CMakeLists.txt +170 -0
- data/ext/native/src/wrappers/net/cmake/FindCSharp.cmake +72 -0
- data/ext/native/src/wrappers/net/cmake/FindDotNetFrameworkSdk.cmake +92 -0
- data/ext/native/src/wrappers/net/cmake/FindMono.cmake +162 -0
- data/ext/native/src/wrappers/net/cmake/UseCSharp.cmake +119 -0
- data/ext/native/src/wrappers/net/cmake/UseDotNetFrameworkSdk.cmake +12 -0
- data/ext/native/src/wrappers/net/cmake/UseMono.cmake +16 -0
- data/ext/native/src/wrappers/net/src/AssemblyInfo.cs +56 -0
- data/ext/native/src/wrappers/net/src/VirgilStreamDataSink.cs +63 -0
- data/ext/native/src/wrappers/net/src/VirgilStreamDataSource.cs +74 -0
- data/ext/native/src/wrappers/nodejs/CMakeLists.txt +134 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/android-ifaddrs.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/ares.h +636 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/ares_version.h +24 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/libplatform/libplatform.h +38 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/nameser.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/node.h +447 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/node_buffer.h +125 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/node_internals.h +236 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/node_object_wrap.h +137 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/node_version.h +69 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/aes.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/asn1.h +1417 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/asn1_mac.h +579 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/asn1t.h +973 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/bio.h +875 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/blowfish.h +130 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/bn.h +957 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/buffer.h +118 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/camellia.h +132 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/cast.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/cmac.h +82 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/cms.h +505 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/comp.h +79 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/conf.h +267 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/conf_api.h +89 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/crypto.h +661 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/des.h +257 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/des_old.h +497 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/dh.h +287 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/dsa.h +329 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/dso.h +451 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/dtls1.h +268 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/e_os2.h +328 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ebcdic.h +26 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ec.h +1193 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ecdh.h +127 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ecdsa.h +260 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/engine.h +961 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/err.h +389 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/evp.h +1480 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/hmac.h +109 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/idea.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/krb5_asn.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/kssl.h +197 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/lhash.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/md4.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/md5.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/mdc2.h +94 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/modes.h +153 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/obj_mac.h +4031 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/objects.h +1143 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ocsp.h +626 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/opensslconf.h +333 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/opensslv.h +97 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ossl_typ.h +209 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/pem.h +611 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/pem2.h +70 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/pkcs12.h +342 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/pkcs7.h +481 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/pqueue.h +99 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/rand.h +150 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/rc2.h +103 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/rc4.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ripemd.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/rsa.h +610 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/safestack.h +2536 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/seed.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/sha.h +214 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/srp.h +169 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/srtp.h +148 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ssl.h +2766 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ssl2.h +265 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ssl23.h +84 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ssl3.h +730 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/stack.h +106 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/symhacks.h +486 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/tls1.h +788 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ts.h +862 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/txt_db.h +112 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ui.h +415 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ui_compat.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/whrlpool.h +41 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/x509.h +1301 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/x509_vfy.h +595 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/x509v3.h +1015 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/pthread-fixes.h +72 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/smalloc.h +153 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/stdint-msvc2008.h +247 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/tree.h +768 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-aix.h +32 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-bsd.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-darwin.h +61 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-errno.h +418 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-linux.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-sunos.h +44 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-threadpool.h +37 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-unix.h +383 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-version.h +39 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-win.h +647 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv.h +1467 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-debug.h +267 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-platform.h +62 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-profiler.h +611 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-testing.h +48 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-util.h +487 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-version.h +20 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8.h +6741 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8config.h +451 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8stdint.h +33 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/zconf.h +511 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/zlib.h +1768 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/lib/win/x64/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/lib/win/x86/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/android-ifaddrs.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/ares.h +589 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/ares_version.h +24 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/libplatform/libplatform.h +38 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/nameser.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/node.h +470 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/node_buffer.h +65 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/node_internals.h +339 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/node_object_wrap.h +116 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/node_version.h +45 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/aes.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/BSD-x86/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/BSD-x86_64/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/VC-WIN32/opensslconf.h +259 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/VC-WIN64A/opensslconf.h +259 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/aix-gcc/opensslconf.h +261 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/aix64-gcc/opensslconf.h +261 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/darwin-i386-cc/opensslconf.h +261 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/darwin64-x86_64-cc/opensslconf.h +261 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-aarch64/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-armv4/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-elf/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-ppc/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-ppc64/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-x32/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-x86_64/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/solaris-x86-gcc/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/solaris64-x86_64-gcc/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/asn1.h +1419 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/asn1_mac.h +579 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/asn1t.h +973 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/bio.h +879 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/blowfish.h +130 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/bn.h +939 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/buffer.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/camellia.h +132 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/cast.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/cmac.h +82 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/cms.h +555 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/comp.h +79 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/conf.h +267 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/conf_api.h +89 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/crypto.h +661 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/des.h +257 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/des_old.h +497 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/dh.h +392 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/dsa.h +332 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/dso.h +451 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/dtls1.h +272 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/e_os2.h +328 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ebcdic.h +26 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ec.h +1282 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ecdh.h +134 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ecdsa.h +335 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/engine.h +960 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/err.h +389 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/evp.h +1534 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/hmac.h +109 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/idea.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/krb5_asn.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/kssl.h +197 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/lhash.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/md4.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/md5.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/mdc2.h +94 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/modes.h +163 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/obj_mac.h +4194 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/objects.h +1143 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ocsp.h +637 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/opensslconf.h +138 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/opensslv.h +97 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ossl_typ.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/pem.h +615 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/pem2.h +70 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/pkcs12.h +342 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/pkcs7.h +481 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/pqueue.h +99 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/rand.h +150 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/rc2.h +103 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/rc4.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ripemd.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/rsa.h +664 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/safestack.h +2672 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/seed.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/sha.h +214 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/srp.h +169 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/srtp.h +147 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ssl.h +3164 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ssl2.h +265 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ssl23.h +84 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ssl3.h +774 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/stack.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/symhacks.h +516 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/tls1.h +813 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ts.h +862 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/txt_db.h +112 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ui.h +415 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ui_compat.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/whrlpool.h +41 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/x509.h +1327 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/x509_vfy.h +647 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/x509v3.h +1055 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/pthread-fixes.h +72 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/stdint-msvc2008.h +247 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/tree.h +768 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-aix.h +32 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-bsd.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-darwin.h +61 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-errno.h +418 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-linux.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-sunos.h +44 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-threadpool.h +37 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-unix.h +383 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-version.h +43 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-win.h +655 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv.h +1472 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-debug.h +280 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-platform.h +82 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-profiler.h +648 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-testing.h +48 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-util.h +640 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-version.h +20 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8.h +8366 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8config.h +424 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/zconf.h +511 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/zlib.h +1768 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/lib/win/x64/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/lib/win/x86/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/android-ifaddrs.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/ares.h +589 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/ares_version.h +24 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/common.gypi +337 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/config.gypi +44 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/libplatform/libplatform.h +38 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/nameser.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/node.h +470 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/node_buffer.h +65 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/node_internals.h +333 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/node_object_wrap.h +116 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/node_version.h +57 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/aes.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/BSD-x86/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/BSD-x86_64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/VC-WIN32/opensslconf.h +271 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/VC-WIN64A/opensslconf.h +271 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/aix-gcc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/aix64-gcc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/darwin-i386-cc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/darwin64-x86_64-cc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-aarch64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-armv4/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-elf/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-ppc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-ppc64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-x32/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-x86_64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/solaris-x86-gcc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/solaris64-x86_64-gcc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/asn1.h +1419 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/asn1_mac.h +579 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/asn1t.h +973 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/bio.h +883 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/blowfish.h +130 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/bn.h +949 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/buffer.h +125 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/camellia.h +132 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/cast.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/cmac.h +82 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/cms.h +555 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/comp.h +83 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/conf.h +267 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/conf_api.h +89 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/crypto.h +661 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/des.h +257 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/des_old.h +497 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/dh.h +393 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/dsa.h +332 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/dso.h +451 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/dtls1.h +272 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/e_os2.h +328 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ebcdic.h +26 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ec.h +1282 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ecdh.h +134 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ecdsa.h +335 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/engine.h +960 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/err.h +389 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/evp.h +1534 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/hmac.h +109 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/idea.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/krb5_asn.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/kssl.h +197 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/lhash.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/md4.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/md5.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/mdc2.h +94 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/modes.h +163 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/obj_mac.h +4194 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/objects.h +1143 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ocsp.h +637 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/opensslconf.h +138 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/opensslv.h +97 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ossl_typ.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/pem.h +615 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/pem2.h +70 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/pkcs12.h +342 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/pkcs7.h +481 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/pqueue.h +99 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/rand.h +150 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/rc2.h +103 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/rc4.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ripemd.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/rsa.h +664 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/safestack.h +2672 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/seed.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/sha.h +214 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/srp.h +179 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/srtp.h +147 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ssl.h +3169 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ssl2.h +265 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ssl23.h +84 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ssl3.h +774 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/stack.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/symhacks.h +516 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/tls1.h +810 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ts.h +862 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/txt_db.h +112 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ui.h +415 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ui_compat.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/whrlpool.h +41 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/x509.h +1328 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/x509_vfy.h +647 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/x509v3.h +1055 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/pthread-fixes.h +72 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/stdint-msvc2008.h +247 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/tree.h +768 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-aix.h +32 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-bsd.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-darwin.h +61 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-errno.h +418 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-linux.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-sunos.h +44 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-threadpool.h +37 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-unix.h +383 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-version.h +43 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-win.h +653 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv.h +1482 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-debug.h +280 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-platform.h +82 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-profiler.h +648 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-testing.h +48 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-util.h +640 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-version.h +20 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8.h +8379 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8config.h +424 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/zconf.h +511 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/zlib.h +1768 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/lib/win/x64/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/lib/win/x86/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/android-ifaddrs.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/ares.h +627 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/ares_build.h +117 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/ares_rules.h +130 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/ares_version.h +24 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/common.gypi +335 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/config.gypi +45 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/libplatform/libplatform.h +38 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/nameser.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/node.h +470 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/node_buffer.h +65 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/node_internals.h +331 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/node_object_wrap.h +116 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/node_version.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/aes.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/BSD-x86/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/BSD-x86_64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/VC-WIN32/opensslconf.h +271 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/VC-WIN64A/opensslconf.h +271 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/aix-gcc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/aix64-gcc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/darwin-i386-cc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/darwin64-x86_64-cc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-aarch64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-armv4/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-elf/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-ppc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-ppc64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-x32/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-x86_64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/solaris-x86-gcc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/solaris64-x86_64-gcc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/asn1.h +1419 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/asn1_mac.h +579 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/asn1t.h +973 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/bio.h +883 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/blowfish.h +130 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/bn.h +949 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/buffer.h +125 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/camellia.h +132 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/cast.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/cmac.h +82 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/cms.h +555 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/comp.h +79 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/conf.h +267 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/conf_api.h +89 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/crypto.h +661 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/des.h +257 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/des_old.h +497 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/dh.h +393 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/dsa.h +332 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/dso.h +451 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/dtls1.h +272 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/e_os2.h +328 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ebcdic.h +26 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ec.h +1282 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ecdh.h +134 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ecdsa.h +335 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/engine.h +960 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/err.h +389 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/evp.h +1534 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/hmac.h +109 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/idea.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/krb5_asn.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/kssl.h +197 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/lhash.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/md4.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/md5.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/mdc2.h +94 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/modes.h +163 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/obj_mac.h +4194 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/objects.h +1143 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ocsp.h +637 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/opensslconf.h +138 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/opensslv.h +97 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ossl_typ.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/pem.h +615 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/pem2.h +70 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/pkcs12.h +342 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/pkcs7.h +481 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/pqueue.h +99 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/rand.h +150 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/rc2.h +103 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/rc4.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ripemd.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/rsa.h +664 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/safestack.h +2672 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/seed.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/sha.h +214 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/srp.h +179 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/srtp.h +147 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ssl.h +3169 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ssl2.h +265 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ssl23.h +84 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ssl3.h +774 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/stack.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/symhacks.h +516 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/tls1.h +810 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ts.h +862 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/txt_db.h +112 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ui.h +415 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ui_compat.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/whrlpool.h +41 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/x509.h +1327 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/x509_vfy.h +647 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/x509v3.h +1055 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/pthread-fixes.h +72 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/stdint-msvc2008.h +247 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/tree.h +768 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-aix.h +32 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-bsd.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-darwin.h +61 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-errno.h +418 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-linux.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-sunos.h +44 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-threadpool.h +37 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-unix.h +383 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-version.h +43 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-win.h +653 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv.h +1482 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-debug.h +280 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-platform.h +114 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-profiler.h +648 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-testing.h +48 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-util.h +643 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-version.h +20 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8.h +8369 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8config.h +424 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/zconf.h +511 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/zlib.h +1768 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/lib/win/x64/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/lib/win/x86/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/android-ifaddrs.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/ares.h +635 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/ares_build.h +117 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/ares_rules.h +130 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/ares_version.h +24 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/common.gypi +361 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/config.gypi +47 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/libplatform/libplatform.h +38 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/nameser.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/node.h +489 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/node_buffer.h +68 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/node_internals.h +309 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/node_object_wrap.h +111 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/node_version.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/aes.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/BSD-x86/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/BSD-x86_64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/VC-WIN32/opensslconf.h +271 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/VC-WIN64A/opensslconf.h +271 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/aix-gcc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/aix64-gcc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/darwin-i386-cc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/darwin64-x86_64-cc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-aarch64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-armv4/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-elf/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-ppc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-ppc64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-x32/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-x86_64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux32-s390x/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux64-s390x/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/solaris-x86-gcc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/solaris64-x86_64-gcc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/asn1.h +1419 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/asn1_mac.h +579 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/asn1t.h +973 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/bio.h +883 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/blowfish.h +130 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/bn.h +949 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/buffer.h +125 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/camellia.h +132 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/cast.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/cmac.h +82 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/cms.h +555 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/comp.h +83 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/conf.h +267 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/conf_api.h +89 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/crypto.h +661 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/des.h +257 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/des_old.h +497 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/dh.h +393 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/dsa.h +332 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/dso.h +451 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/dtls1.h +272 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/e_os2.h +328 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ebcdic.h +26 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ec.h +1282 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ecdh.h +134 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ecdsa.h +335 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/engine.h +960 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/err.h +389 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/evp.h +1534 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/hmac.h +109 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/idea.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/krb5_asn.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/kssl.h +197 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/lhash.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/md4.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/md5.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/mdc2.h +94 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/modes.h +163 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/obj_mac.h +4194 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/objects.h +1143 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ocsp.h +637 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/opensslconf.h +146 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/opensslv.h +97 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ossl_typ.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/pem.h +615 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/pem2.h +70 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/pkcs12.h +342 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/pkcs7.h +481 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/pqueue.h +99 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/rand.h +150 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/rc2.h +103 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/rc4.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ripemd.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/rsa.h +664 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/safestack.h +2672 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/seed.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/sha.h +214 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/srp.h +179 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/srtp.h +147 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ssl.h +3169 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ssl2.h +265 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ssl23.h +84 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ssl3.h +774 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/stack.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/symhacks.h +516 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/tls1.h +810 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ts.h +862 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/txt_db.h +112 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ui.h +415 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ui_compat.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/whrlpool.h +41 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/x509.h +1328 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/x509_vfy.h +647 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/x509v3.h +1055 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/pthread-fixes.h +72 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/stdint-msvc2008.h +247 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/tree.h +768 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-aix.h +32 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-bsd.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-darwin.h +61 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-errno.h +418 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-linux.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-sunos.h +44 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-threadpool.h +37 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-unix.h +383 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-version.h +43 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-win.h +648 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv.h +1495 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-debug.h +288 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-experimental.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-platform.h +171 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-profiler.h +782 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-testing.h +48 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-util.h +643 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-version.h +20 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8.h +8586 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8config.h +438 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/zconf.h +511 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/zlib.h +1768 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/lib/win/x64/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/lib/win/x86/node.lib +0 -0
- data/ext/native/src/wrappers/php/CMakeLists.txt +118 -0
- data/ext/native/src/wrappers/php/cmake/FindPHPLibs.cmake +49 -0
- data/ext/native/src/wrappers/php/tests/CMakeLists.txt +94 -0
- data/ext/native/src/wrappers/php/tests/StringSink.php.in +60 -0
- data/ext/native/src/wrappers/php/tests/StringSource.php.in +67 -0
- data/ext/native/src/wrappers/php/tests/VirgilAsn1Reader_Test.php.in +160 -0
- data/ext/native/src/wrappers/php/tests/VirgilAsn1Writer_Test.php.in +160 -0
- data/ext/native/src/wrappers/php/tests/VirgilAsymmetricCipher_EC_Test.php.in +337 -0
- data/ext/native/src/wrappers/php/tests/VirgilAsymmetricCipher_RSA_Test.php.in +340 -0
- data/ext/native/src/wrappers/php/tests/VirgilChunkCipher_Test.php.in +207 -0
- data/ext/native/src/wrappers/php/tests/VirgilCipher_Test.php.in +181 -0
- data/ext/native/src/wrappers/php/tests/VirgilCustomParams_Test.php.in +78 -0
- data/ext/native/src/wrappers/php/tests/VirgilHash_MD5_Test.php.in +159 -0
- data/ext/native/src/wrappers/php/tests/VirgilHash_SHA256_Test.php.in +159 -0
- data/ext/native/src/wrappers/php/tests/VirgilHash_SHA512_Test.php.in +167 -0
- data/ext/native/src/wrappers/php/tests/VirgilKDF_Test.php.in +123 -0
- data/ext/native/src/wrappers/php/tests/VirgilPBE_Test.php.in +84 -0
- data/ext/native/src/wrappers/php/tests/VirgilPBKDF_Test.php.in +66 -0
- data/ext/native/src/wrappers/php/tests/VirgilRandom_Test.php.in +56 -0
- data/ext/native/src/wrappers/php/tests/VirgilSigner_Test.php.in +211 -0
- data/ext/native/src/wrappers/php/tests/VirgilStreamCipher_Test.php.in +207 -0
- data/ext/native/src/wrappers/php/tests/VirgilStreamSigner_Test.php.in +212 -0
- data/ext/native/src/wrappers/php/tests/VirgilSymmetricCipher_Test.php.in +174 -0
- data/ext/native/src/wrappers/php/tests/VirgilVersion_Test.php.in +61 -0
- data/ext/native/src/wrappers/php/tests/data/CMakeLists.txt +50 -0
- data/ext/native/src/wrappers/php/tests/data/asn1_complex.der +0 -0
- data/ext/native/src/wrappers/php/tests/data/asn1_custom_tag.der +0 -0
- data/ext/native/src/wrappers/php/tests/data/asn1_integer.der +1 -0
- data/ext/native/src/wrappers/php/tests/data/asn1_octet_string.der +0 -0
- data/ext/native/src/wrappers/php/tests/data/asn1_sequence.der +0 -0
- data/ext/native/src/wrappers/php/tests/data/asn1_utf8_string.der +1 -0
- data/ext/native/src/wrappers/php/tests/data/certificate_public_key.pem +6 -0
- data/ext/native/src/wrappers/python/CMakeLists.txt +95 -0
- data/ext/native/src/wrappers/ruby/CMakeLists.txt +84 -0
- data/ext/native/src/wrappers/swig/common.i +119 -0
- data/ext/native/src/wrappers/swig/csharp/FixedArray.i +347 -0
- data/ext/native/src/wrappers/swig/csharp/VirgilByteArray.i +38 -0
- data/ext/native/src/wrappers/swig/csharp/common.i +48 -0
- data/ext/native/src/wrappers/swig/csharp/csharphead.swg.in +85 -0
- data/ext/native/src/wrappers/swig/java/VirgilByteArray.i +158 -0
- data/ext/native/src/wrappers/swig/java/common.i +70 -0
- data/ext/native/src/wrappers/swig/php/VirgilByteArray.i +107 -0
- data/ext/native/src/wrappers/swig/php/common.i +90 -0
- data/ext/native/src/wrappers/swig/util.i +85 -0
- data/ext/native/src/wrappers/swig/wrapper.i.in +158 -0
- data/lib/virgil/crypto.rb +10 -0
- data/lib/virgil/crypto/bytes.rb +57 -0
- data/lib/virgil/crypto/version.rb +5 -0
- data/lib/virgil/crypto/virgil_stream_data_sink.rb +53 -0
- data/lib/virgil/crypto/virgil_stream_data_source.rb +54 -0
- data/virgil-crypto.gemspec +53 -0
- metadata +978 -0
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
// Copyright 2008 the V8 project authors. All rights reserved.
|
|
2
|
+
// Use of this source code is governed by a BSD-style license that can be
|
|
3
|
+
// found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
#ifndef V8_V8_DEBUG_H_
|
|
6
|
+
#define V8_V8_DEBUG_H_
|
|
7
|
+
|
|
8
|
+
#include "v8.h"
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Debugger support for the V8 JavaScript engine.
|
|
12
|
+
*/
|
|
13
|
+
namespace v8 {
|
|
14
|
+
|
|
15
|
+
// Debug events which can occur in the V8 JavaScript engine.
|
|
16
|
+
enum DebugEvent {
|
|
17
|
+
Break = 1,
|
|
18
|
+
Exception = 2,
|
|
19
|
+
NewFunction = 3,
|
|
20
|
+
BeforeCompile = 4,
|
|
21
|
+
AfterCompile = 5,
|
|
22
|
+
CompileError = 6,
|
|
23
|
+
PromiseEvent = 7,
|
|
24
|
+
AsyncTaskEvent = 8,
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class V8_EXPORT Debug {
|
|
29
|
+
public:
|
|
30
|
+
/**
|
|
31
|
+
* A client object passed to the v8 debugger whose ownership will be taken by
|
|
32
|
+
* it. v8 is always responsible for deleting the object.
|
|
33
|
+
*/
|
|
34
|
+
class ClientData {
|
|
35
|
+
public:
|
|
36
|
+
virtual ~ClientData() {}
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* A message object passed to the debug message handler.
|
|
42
|
+
*/
|
|
43
|
+
class Message {
|
|
44
|
+
public:
|
|
45
|
+
/**
|
|
46
|
+
* Check type of message.
|
|
47
|
+
*/
|
|
48
|
+
virtual bool IsEvent() const = 0;
|
|
49
|
+
virtual bool IsResponse() const = 0;
|
|
50
|
+
virtual DebugEvent GetEvent() const = 0;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Indicate whether this is a response to a continue command which will
|
|
54
|
+
* start the VM running after this is processed.
|
|
55
|
+
*/
|
|
56
|
+
virtual bool WillStartRunning() const = 0;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Access to execution state and event data. Don't store these cross
|
|
60
|
+
* callbacks as their content becomes invalid. These objects are from the
|
|
61
|
+
* debugger event that started the debug message loop.
|
|
62
|
+
*/
|
|
63
|
+
virtual Local<Object> GetExecutionState() const = 0;
|
|
64
|
+
virtual Local<Object> GetEventData() const = 0;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Get the debugger protocol JSON.
|
|
68
|
+
*/
|
|
69
|
+
virtual Local<String> GetJSON() const = 0;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Get the context active when the debug event happened. Note this is not
|
|
73
|
+
* the current active context as the JavaScript part of the debugger is
|
|
74
|
+
* running in its own context which is entered at this point.
|
|
75
|
+
*/
|
|
76
|
+
virtual Local<Context> GetEventContext() const = 0;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Client data passed with the corresponding request if any. This is the
|
|
80
|
+
* client_data data value passed into Debug::SendCommand along with the
|
|
81
|
+
* request that led to the message or NULL if the message is an event. The
|
|
82
|
+
* debugger takes ownership of the data and will delete it even if there is
|
|
83
|
+
* no message handler.
|
|
84
|
+
*/
|
|
85
|
+
virtual ClientData* GetClientData() const = 0;
|
|
86
|
+
|
|
87
|
+
virtual Isolate* GetIsolate() const = 0;
|
|
88
|
+
|
|
89
|
+
virtual ~Message() {}
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* An event details object passed to the debug event listener.
|
|
95
|
+
*/
|
|
96
|
+
class EventDetails {
|
|
97
|
+
public:
|
|
98
|
+
/**
|
|
99
|
+
* Event type.
|
|
100
|
+
*/
|
|
101
|
+
virtual DebugEvent GetEvent() const = 0;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Access to execution state and event data of the debug event. Don't store
|
|
105
|
+
* these cross callbacks as their content becomes invalid.
|
|
106
|
+
*/
|
|
107
|
+
virtual Local<Object> GetExecutionState() const = 0;
|
|
108
|
+
virtual Local<Object> GetEventData() const = 0;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Get the context active when the debug event happened. Note this is not
|
|
112
|
+
* the current active context as the JavaScript part of the debugger is
|
|
113
|
+
* running in its own context which is entered at this point.
|
|
114
|
+
*/
|
|
115
|
+
virtual Local<Context> GetEventContext() const = 0;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Client data passed with the corresponding callback when it was
|
|
119
|
+
* registered.
|
|
120
|
+
*/
|
|
121
|
+
virtual Local<Value> GetCallbackData() const = 0;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Client data passed to DebugBreakForCommand function. The
|
|
125
|
+
* debugger takes ownership of the data and will delete it even if
|
|
126
|
+
* there is no message handler.
|
|
127
|
+
*/
|
|
128
|
+
virtual ClientData* GetClientData() const = 0;
|
|
129
|
+
|
|
130
|
+
virtual ~EventDetails() {}
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Debug event callback function.
|
|
135
|
+
*
|
|
136
|
+
* \param event_details object providing information about the debug event
|
|
137
|
+
*
|
|
138
|
+
* A EventCallback2 does not take possession of the event data,
|
|
139
|
+
* and must not rely on the data persisting after the handler returns.
|
|
140
|
+
*/
|
|
141
|
+
typedef void (*EventCallback)(const EventDetails& event_details);
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Debug message callback function.
|
|
145
|
+
*
|
|
146
|
+
* \param message the debug message handler message object
|
|
147
|
+
*
|
|
148
|
+
* A MessageHandler2 does not take possession of the message data,
|
|
149
|
+
* and must not rely on the data persisting after the handler returns.
|
|
150
|
+
*/
|
|
151
|
+
typedef void (*MessageHandler)(const Message& message);
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Callback function for the host to ensure debug messages are processed.
|
|
155
|
+
*/
|
|
156
|
+
typedef void (*DebugMessageDispatchHandler)();
|
|
157
|
+
|
|
158
|
+
static bool SetDebugEventListener(EventCallback that,
|
|
159
|
+
Local<Value> data = Local<Value>());
|
|
160
|
+
|
|
161
|
+
// Schedule a debugger break to happen when JavaScript code is run
|
|
162
|
+
// in the given isolate.
|
|
163
|
+
static void DebugBreak(Isolate* isolate);
|
|
164
|
+
|
|
165
|
+
// Remove scheduled debugger break in given isolate if it has not
|
|
166
|
+
// happened yet.
|
|
167
|
+
static void CancelDebugBreak(Isolate* isolate);
|
|
168
|
+
|
|
169
|
+
// Check if a debugger break is scheduled in the given isolate.
|
|
170
|
+
static bool CheckDebugBreak(Isolate* isolate);
|
|
171
|
+
|
|
172
|
+
// Message based interface. The message protocol is JSON.
|
|
173
|
+
static void SetMessageHandler(MessageHandler handler);
|
|
174
|
+
|
|
175
|
+
static void SendCommand(Isolate* isolate,
|
|
176
|
+
const uint16_t* command, int length,
|
|
177
|
+
ClientData* client_data = NULL);
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Run a JavaScript function in the debugger.
|
|
181
|
+
* \param fun the function to call
|
|
182
|
+
* \param data passed as second argument to the function
|
|
183
|
+
* With this call the debugger is entered and the function specified is called
|
|
184
|
+
* with the execution state as the first argument. This makes it possible to
|
|
185
|
+
* get access to information otherwise not available during normal JavaScript
|
|
186
|
+
* execution e.g. details on stack frames. Receiver of the function call will
|
|
187
|
+
* be the debugger context global object, however this is a subject to change.
|
|
188
|
+
* The following example shows a JavaScript function which when passed to
|
|
189
|
+
* v8::Debug::Call will return the current line of JavaScript execution.
|
|
190
|
+
*
|
|
191
|
+
* \code
|
|
192
|
+
* function frame_source_line(exec_state) {
|
|
193
|
+
* return exec_state.frame(0).sourceLine();
|
|
194
|
+
* }
|
|
195
|
+
* \endcode
|
|
196
|
+
*/
|
|
197
|
+
static V8_DEPRECATE_SOON(
|
|
198
|
+
"Use maybe version",
|
|
199
|
+
Local<Value> Call(v8::Local<v8::Function> fun,
|
|
200
|
+
Local<Value> data = Local<Value>()));
|
|
201
|
+
// TODO(dcarney): data arg should be a MaybeLocal
|
|
202
|
+
static MaybeLocal<Value> Call(Local<Context> context,
|
|
203
|
+
v8::Local<v8::Function> fun,
|
|
204
|
+
Local<Value> data = Local<Value>());
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Returns a mirror object for the given object.
|
|
208
|
+
*/
|
|
209
|
+
static V8_DEPRECATE_SOON("Use maybe version",
|
|
210
|
+
Local<Value> GetMirror(v8::Local<v8::Value> obj));
|
|
211
|
+
static MaybeLocal<Value> GetMirror(Local<Context> context,
|
|
212
|
+
v8::Local<v8::Value> obj);
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Makes V8 process all pending debug messages.
|
|
216
|
+
*
|
|
217
|
+
* From V8 point of view all debug messages come asynchronously (e.g. from
|
|
218
|
+
* remote debugger) but they all must be handled synchronously: V8 cannot
|
|
219
|
+
* do 2 things at one time so normal script execution must be interrupted
|
|
220
|
+
* for a while.
|
|
221
|
+
*
|
|
222
|
+
* Generally when message arrives V8 may be in one of 3 states:
|
|
223
|
+
* 1. V8 is running script; V8 will automatically interrupt and process all
|
|
224
|
+
* pending messages;
|
|
225
|
+
* 2. V8 is suspended on debug breakpoint; in this state V8 is dedicated
|
|
226
|
+
* to reading and processing debug messages;
|
|
227
|
+
* 3. V8 is not running at all or has called some long-working C++ function;
|
|
228
|
+
* by default it means that processing of all debug messages will be deferred
|
|
229
|
+
* until V8 gets control again; however, embedding application may improve
|
|
230
|
+
* this by manually calling this method.
|
|
231
|
+
*
|
|
232
|
+
* Technically this method in many senses is equivalent to executing empty
|
|
233
|
+
* script:
|
|
234
|
+
* 1. It does nothing except for processing all pending debug messages.
|
|
235
|
+
* 2. It should be invoked with the same precautions and from the same context
|
|
236
|
+
* as V8 script would be invoked from, because:
|
|
237
|
+
* a. with "evaluate" command it can do whatever normal script can do,
|
|
238
|
+
* including all native calls;
|
|
239
|
+
* b. no other thread should call V8 while this method is running
|
|
240
|
+
* (v8::Locker may be used here).
|
|
241
|
+
*
|
|
242
|
+
* "Evaluate" debug command behavior currently is not specified in scope
|
|
243
|
+
* of this method.
|
|
244
|
+
*/
|
|
245
|
+
static void ProcessDebugMessages();
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Debugger is running in its own context which is entered while debugger
|
|
249
|
+
* messages are being dispatched. This is an explicit getter for this
|
|
250
|
+
* debugger context. Note that the content of the debugger context is subject
|
|
251
|
+
* to change. The Context exists only when the debugger is active, i.e. at
|
|
252
|
+
* least one DebugEventListener or MessageHandler is set.
|
|
253
|
+
*/
|
|
254
|
+
static Local<Context> GetDebugContext();
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Enable/disable LiveEdit functionality for the given Isolate
|
|
259
|
+
* (default Isolate if not provided). V8 will abort if LiveEdit is
|
|
260
|
+
* unexpectedly used. LiveEdit is enabled by default.
|
|
261
|
+
*/
|
|
262
|
+
static void SetLiveEditEnabled(Isolate* isolate, bool enable);
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Returns array of internal properties specific to the value type. Result has
|
|
266
|
+
* the following format: [<name>, <value>,...,<name>, <value>]. Result array
|
|
267
|
+
* will be allocated in the current context.
|
|
268
|
+
*/
|
|
269
|
+
static MaybeLocal<Array> GetInternalProperties(Isolate* isolate,
|
|
270
|
+
Local<Value> value);
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
} // namespace v8
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
#undef EXPORT
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
#endif // V8_V8_DEBUG_H_
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// Copyright 2013 the V8 project authors. All rights reserved.
|
|
2
|
+
// Use of this source code is governed by a BSD-style license that can be
|
|
3
|
+
// found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
#ifndef V8_V8_PLATFORM_H_
|
|
6
|
+
#define V8_V8_PLATFORM_H_
|
|
7
|
+
|
|
8
|
+
namespace v8 {
|
|
9
|
+
|
|
10
|
+
class Isolate;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* A Task represents a unit of work.
|
|
14
|
+
*/
|
|
15
|
+
class Task {
|
|
16
|
+
public:
|
|
17
|
+
virtual ~Task() {}
|
|
18
|
+
|
|
19
|
+
virtual void Run() = 0;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* V8 Platform abstraction layer.
|
|
24
|
+
*
|
|
25
|
+
* The embedder has to provide an implementation of this interface before
|
|
26
|
+
* initializing the rest of V8.
|
|
27
|
+
*/
|
|
28
|
+
class Platform {
|
|
29
|
+
public:
|
|
30
|
+
/**
|
|
31
|
+
* This enum is used to indicate whether a task is potentially long running,
|
|
32
|
+
* or causes a long wait. The embedder might want to use this hint to decide
|
|
33
|
+
* whether to execute the task on a dedicated thread.
|
|
34
|
+
*/
|
|
35
|
+
enum ExpectedRuntime {
|
|
36
|
+
kShortRunningTask,
|
|
37
|
+
kLongRunningTask
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
virtual ~Platform() {}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Schedules a task to be invoked on a background thread. |expected_runtime|
|
|
44
|
+
* indicates that the task will run a long time. The Platform implementation
|
|
45
|
+
* takes ownership of |task|. There is no guarantee about order of execution
|
|
46
|
+
* of tasks wrt order of scheduling, nor is there a guarantee about the
|
|
47
|
+
* thread the task will be run on.
|
|
48
|
+
*/
|
|
49
|
+
virtual void CallOnBackgroundThread(Task* task,
|
|
50
|
+
ExpectedRuntime expected_runtime) = 0;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Schedules a task to be invoked on a foreground thread wrt a specific
|
|
54
|
+
* |isolate|. Tasks posted for the same isolate should be execute in order of
|
|
55
|
+
* scheduling. The definition of "foreground" is opaque to V8.
|
|
56
|
+
*/
|
|
57
|
+
virtual void CallOnForegroundThread(Isolate* isolate, Task* task) = 0;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Schedules a task to be invoked on a foreground thread wrt a specific
|
|
61
|
+
* |isolate| after the given number of seconds |delay_in_seconds|.
|
|
62
|
+
* Tasks posted for the same isolate should be execute in order of
|
|
63
|
+
* scheduling. The definition of "foreground" is opaque to V8.
|
|
64
|
+
*/
|
|
65
|
+
virtual void CallDelayedOnForegroundThread(Isolate* isolate, Task* task,
|
|
66
|
+
double delay_in_seconds) {
|
|
67
|
+
// TODO(ulan): Make this function abstract after V8 roll in Chromium.
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Monotonically increasing time in seconds from an arbitrary fixed point in
|
|
72
|
+
* the past. This function is expected to return at least
|
|
73
|
+
* millisecond-precision values. For this reason,
|
|
74
|
+
* it is recommended that the fixed point be no further in the past than
|
|
75
|
+
* the epoch.
|
|
76
|
+
**/
|
|
77
|
+
virtual double MonotonicallyIncreasingTime() = 0;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
} // namespace v8
|
|
81
|
+
|
|
82
|
+
#endif // V8_V8_PLATFORM_H_
|
|
@@ -0,0 +1,648 @@
|
|
|
1
|
+
// Copyright 2010 the V8 project authors. All rights reserved.
|
|
2
|
+
// Use of this source code is governed by a BSD-style license that can be
|
|
3
|
+
// found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
#ifndef V8_V8_PROFILER_H_
|
|
6
|
+
#define V8_V8_PROFILER_H_
|
|
7
|
+
|
|
8
|
+
#include <vector>
|
|
9
|
+
#include "v8.h"
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Profiler support for the V8 JavaScript engine.
|
|
13
|
+
*/
|
|
14
|
+
namespace v8 {
|
|
15
|
+
|
|
16
|
+
class HeapGraphNode;
|
|
17
|
+
struct HeapStatsUpdate;
|
|
18
|
+
|
|
19
|
+
typedef uint32_t SnapshotObjectId;
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
struct CpuProfileDeoptFrame {
|
|
23
|
+
int script_id;
|
|
24
|
+
size_t position;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
} // namespace v8
|
|
28
|
+
|
|
29
|
+
#ifdef V8_OS_WIN
|
|
30
|
+
template class V8_EXPORT std::vector<v8::CpuProfileDeoptFrame>;
|
|
31
|
+
#endif
|
|
32
|
+
|
|
33
|
+
namespace v8 {
|
|
34
|
+
|
|
35
|
+
struct V8_EXPORT CpuProfileDeoptInfo {
|
|
36
|
+
/** A pointer to a static string owned by v8. */
|
|
37
|
+
const char* deopt_reason;
|
|
38
|
+
std::vector<CpuProfileDeoptFrame> stack;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
} // namespace v8
|
|
42
|
+
|
|
43
|
+
#ifdef V8_OS_WIN
|
|
44
|
+
template class V8_EXPORT std::vector<v8::CpuProfileDeoptInfo>;
|
|
45
|
+
#endif
|
|
46
|
+
|
|
47
|
+
namespace v8 {
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* CpuProfileNode represents a node in a call graph.
|
|
51
|
+
*/
|
|
52
|
+
class V8_EXPORT CpuProfileNode {
|
|
53
|
+
public:
|
|
54
|
+
struct LineTick {
|
|
55
|
+
/** The 1-based number of the source line where the function originates. */
|
|
56
|
+
int line;
|
|
57
|
+
|
|
58
|
+
/** The count of samples associated with the source line. */
|
|
59
|
+
unsigned int hit_count;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/** Returns function name (empty string for anonymous functions.) */
|
|
63
|
+
Local<String> GetFunctionName() const;
|
|
64
|
+
|
|
65
|
+
/** Returns id of the script where function is located. */
|
|
66
|
+
int GetScriptId() const;
|
|
67
|
+
|
|
68
|
+
/** Returns resource name for script from where the function originates. */
|
|
69
|
+
Local<String> GetScriptResourceName() const;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Returns the number, 1-based, of the line where the function originates.
|
|
73
|
+
* kNoLineNumberInfo if no line number information is available.
|
|
74
|
+
*/
|
|
75
|
+
int GetLineNumber() const;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Returns 1-based number of the column where the function originates.
|
|
79
|
+
* kNoColumnNumberInfo if no column number information is available.
|
|
80
|
+
*/
|
|
81
|
+
int GetColumnNumber() const;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Returns the number of the function's source lines that collect the samples.
|
|
85
|
+
*/
|
|
86
|
+
unsigned int GetHitLineCount() const;
|
|
87
|
+
|
|
88
|
+
/** Returns the set of source lines that collect the samples.
|
|
89
|
+
* The caller allocates buffer and responsible for releasing it.
|
|
90
|
+
* True if all available entries are copied, otherwise false.
|
|
91
|
+
* The function copies nothing if buffer is not large enough.
|
|
92
|
+
*/
|
|
93
|
+
bool GetLineTicks(LineTick* entries, unsigned int length) const;
|
|
94
|
+
|
|
95
|
+
/** Returns bailout reason for the function
|
|
96
|
+
* if the optimization was disabled for it.
|
|
97
|
+
*/
|
|
98
|
+
const char* GetBailoutReason() const;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Returns the count of samples where the function was currently executing.
|
|
102
|
+
*/
|
|
103
|
+
unsigned GetHitCount() const;
|
|
104
|
+
|
|
105
|
+
/** Returns function entry UID. */
|
|
106
|
+
unsigned GetCallUid() const;
|
|
107
|
+
|
|
108
|
+
/** Returns id of the node. The id is unique within the tree */
|
|
109
|
+
unsigned GetNodeId() const;
|
|
110
|
+
|
|
111
|
+
/** Returns child nodes count of the node. */
|
|
112
|
+
int GetChildrenCount() const;
|
|
113
|
+
|
|
114
|
+
/** Retrieves a child node by index. */
|
|
115
|
+
const CpuProfileNode* GetChild(int index) const;
|
|
116
|
+
|
|
117
|
+
/** Retrieves deopt infos for the node. */
|
|
118
|
+
const std::vector<CpuProfileDeoptInfo>& GetDeoptInfos() const;
|
|
119
|
+
|
|
120
|
+
static const int kNoLineNumberInfo = Message::kNoLineNumberInfo;
|
|
121
|
+
static const int kNoColumnNumberInfo = Message::kNoColumnInfo;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* CpuProfile contains a CPU profile in a form of top-down call tree
|
|
127
|
+
* (from main() down to functions that do all the work).
|
|
128
|
+
*/
|
|
129
|
+
class V8_EXPORT CpuProfile {
|
|
130
|
+
public:
|
|
131
|
+
/** Returns CPU profile title. */
|
|
132
|
+
Local<String> GetTitle() const;
|
|
133
|
+
|
|
134
|
+
/** Returns the root node of the top down call tree. */
|
|
135
|
+
const CpuProfileNode* GetTopDownRoot() const;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Returns number of samples recorded. The samples are not recorded unless
|
|
139
|
+
* |record_samples| parameter of CpuProfiler::StartCpuProfiling is true.
|
|
140
|
+
*/
|
|
141
|
+
int GetSamplesCount() const;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Returns profile node corresponding to the top frame the sample at
|
|
145
|
+
* the given index.
|
|
146
|
+
*/
|
|
147
|
+
const CpuProfileNode* GetSample(int index) const;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Returns the timestamp of the sample. The timestamp is the number of
|
|
151
|
+
* microseconds since some unspecified starting point.
|
|
152
|
+
* The point is equal to the starting point used by GetStartTime.
|
|
153
|
+
*/
|
|
154
|
+
int64_t GetSampleTimestamp(int index) const;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Returns time when the profile recording was started (in microseconds)
|
|
158
|
+
* since some unspecified starting point.
|
|
159
|
+
*/
|
|
160
|
+
int64_t GetStartTime() const;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Returns time when the profile recording was stopped (in microseconds)
|
|
164
|
+
* since some unspecified starting point.
|
|
165
|
+
* The point is equal to the starting point used by GetStartTime.
|
|
166
|
+
*/
|
|
167
|
+
int64_t GetEndTime() const;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Deletes the profile and removes it from CpuProfiler's list.
|
|
171
|
+
* All pointers to nodes previously returned become invalid.
|
|
172
|
+
*/
|
|
173
|
+
void Delete();
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Interface for controlling CPU profiling. Instance of the
|
|
179
|
+
* profiler can be retrieved using v8::Isolate::GetCpuProfiler.
|
|
180
|
+
*/
|
|
181
|
+
class V8_EXPORT CpuProfiler {
|
|
182
|
+
public:
|
|
183
|
+
/**
|
|
184
|
+
* Changes default CPU profiler sampling interval to the specified number
|
|
185
|
+
* of microseconds. Default interval is 1000us. This method must be called
|
|
186
|
+
* when there are no profiles being recorded.
|
|
187
|
+
*/
|
|
188
|
+
void SetSamplingInterval(int us);
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Starts collecting CPU profile. Title may be an empty string. It
|
|
192
|
+
* is allowed to have several profiles being collected at
|
|
193
|
+
* once. Attempts to start collecting several profiles with the same
|
|
194
|
+
* title are silently ignored. While collecting a profile, functions
|
|
195
|
+
* from all security contexts are included in it. The token-based
|
|
196
|
+
* filtering is only performed when querying for a profile.
|
|
197
|
+
*
|
|
198
|
+
* |record_samples| parameter controls whether individual samples should
|
|
199
|
+
* be recorded in addition to the aggregated tree.
|
|
200
|
+
*/
|
|
201
|
+
void StartProfiling(Local<String> title, bool record_samples = false);
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Stops collecting CPU profile with a given title and returns it.
|
|
205
|
+
* If the title given is empty, finishes the last profile started.
|
|
206
|
+
*/
|
|
207
|
+
CpuProfile* StopProfiling(Local<String> title);
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Tells the profiler whether the embedder is idle.
|
|
211
|
+
*/
|
|
212
|
+
void SetIdle(bool is_idle);
|
|
213
|
+
|
|
214
|
+
private:
|
|
215
|
+
CpuProfiler();
|
|
216
|
+
~CpuProfiler();
|
|
217
|
+
CpuProfiler(const CpuProfiler&);
|
|
218
|
+
CpuProfiler& operator=(const CpuProfiler&);
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* HeapSnapshotEdge represents a directed connection between heap
|
|
224
|
+
* graph nodes: from retainers to retained nodes.
|
|
225
|
+
*/
|
|
226
|
+
class V8_EXPORT HeapGraphEdge {
|
|
227
|
+
public:
|
|
228
|
+
enum Type {
|
|
229
|
+
kContextVariable = 0, // A variable from a function context.
|
|
230
|
+
kElement = 1, // An element of an array.
|
|
231
|
+
kProperty = 2, // A named object property.
|
|
232
|
+
kInternal = 3, // A link that can't be accessed from JS,
|
|
233
|
+
// thus, its name isn't a real property name
|
|
234
|
+
// (e.g. parts of a ConsString).
|
|
235
|
+
kHidden = 4, // A link that is needed for proper sizes
|
|
236
|
+
// calculation, but may be hidden from user.
|
|
237
|
+
kShortcut = 5, // A link that must not be followed during
|
|
238
|
+
// sizes calculation.
|
|
239
|
+
kWeak = 6 // A weak reference (ignored by the GC).
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
/** Returns edge type (see HeapGraphEdge::Type). */
|
|
243
|
+
Type GetType() const;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Returns edge name. This can be a variable name, an element index, or
|
|
247
|
+
* a property name.
|
|
248
|
+
*/
|
|
249
|
+
Local<Value> GetName() const;
|
|
250
|
+
|
|
251
|
+
/** Returns origin node. */
|
|
252
|
+
const HeapGraphNode* GetFromNode() const;
|
|
253
|
+
|
|
254
|
+
/** Returns destination node. */
|
|
255
|
+
const HeapGraphNode* GetToNode() const;
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* HeapGraphNode represents a node in a heap graph.
|
|
261
|
+
*/
|
|
262
|
+
class V8_EXPORT HeapGraphNode {
|
|
263
|
+
public:
|
|
264
|
+
enum Type {
|
|
265
|
+
kHidden = 0, // Hidden node, may be filtered when shown to user.
|
|
266
|
+
kArray = 1, // An array of elements.
|
|
267
|
+
kString = 2, // A string.
|
|
268
|
+
kObject = 3, // A JS object (except for arrays and strings).
|
|
269
|
+
kCode = 4, // Compiled code.
|
|
270
|
+
kClosure = 5, // Function closure.
|
|
271
|
+
kRegExp = 6, // RegExp.
|
|
272
|
+
kHeapNumber = 7, // Number stored in the heap.
|
|
273
|
+
kNative = 8, // Native object (not from V8 heap).
|
|
274
|
+
kSynthetic = 9, // Synthetic object, usualy used for grouping
|
|
275
|
+
// snapshot items together.
|
|
276
|
+
kConsString = 10, // Concatenated string. A pair of pointers to strings.
|
|
277
|
+
kSlicedString = 11, // Sliced string. A fragment of another string.
|
|
278
|
+
kSymbol = 12, // A Symbol (ES6).
|
|
279
|
+
kSimdValue = 13 // A SIMD value stored in the heap (Proposed ES7).
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
/** Returns node type (see HeapGraphNode::Type). */
|
|
283
|
+
Type GetType() const;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Returns node name. Depending on node's type this can be the name
|
|
287
|
+
* of the constructor (for objects), the name of the function (for
|
|
288
|
+
* closures), string value, or an empty string (for compiled code).
|
|
289
|
+
*/
|
|
290
|
+
Local<String> GetName() const;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Returns node id. For the same heap object, the id remains the same
|
|
294
|
+
* across all snapshots.
|
|
295
|
+
*/
|
|
296
|
+
SnapshotObjectId GetId() const;
|
|
297
|
+
|
|
298
|
+
/** Returns node's own size, in bytes. */
|
|
299
|
+
size_t GetShallowSize() const;
|
|
300
|
+
|
|
301
|
+
/** Returns child nodes count of the node. */
|
|
302
|
+
int GetChildrenCount() const;
|
|
303
|
+
|
|
304
|
+
/** Retrieves a child by index. */
|
|
305
|
+
const HeapGraphEdge* GetChild(int index) const;
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* An interface for exporting data from V8, using "push" model.
|
|
311
|
+
*/
|
|
312
|
+
class V8_EXPORT OutputStream { // NOLINT
|
|
313
|
+
public:
|
|
314
|
+
enum WriteResult {
|
|
315
|
+
kContinue = 0,
|
|
316
|
+
kAbort = 1
|
|
317
|
+
};
|
|
318
|
+
virtual ~OutputStream() {}
|
|
319
|
+
/** Notify about the end of stream. */
|
|
320
|
+
virtual void EndOfStream() = 0;
|
|
321
|
+
/** Get preferred output chunk size. Called only once. */
|
|
322
|
+
virtual int GetChunkSize() { return 1024; }
|
|
323
|
+
/**
|
|
324
|
+
* Writes the next chunk of snapshot data into the stream. Writing
|
|
325
|
+
* can be stopped by returning kAbort as function result. EndOfStream
|
|
326
|
+
* will not be called in case writing was aborted.
|
|
327
|
+
*/
|
|
328
|
+
virtual WriteResult WriteAsciiChunk(char* data, int size) = 0;
|
|
329
|
+
/**
|
|
330
|
+
* Writes the next chunk of heap stats data into the stream. Writing
|
|
331
|
+
* can be stopped by returning kAbort as function result. EndOfStream
|
|
332
|
+
* will not be called in case writing was aborted.
|
|
333
|
+
*/
|
|
334
|
+
virtual WriteResult WriteHeapStatsChunk(HeapStatsUpdate* data, int count) {
|
|
335
|
+
return kAbort;
|
|
336
|
+
}
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* HeapSnapshots record the state of the JS heap at some moment.
|
|
342
|
+
*/
|
|
343
|
+
class V8_EXPORT HeapSnapshot {
|
|
344
|
+
public:
|
|
345
|
+
enum SerializationFormat {
|
|
346
|
+
kJSON = 0 // See format description near 'Serialize' method.
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
/** Returns the root node of the heap graph. */
|
|
350
|
+
const HeapGraphNode* GetRoot() const;
|
|
351
|
+
|
|
352
|
+
/** Returns a node by its id. */
|
|
353
|
+
const HeapGraphNode* GetNodeById(SnapshotObjectId id) const;
|
|
354
|
+
|
|
355
|
+
/** Returns total nodes count in the snapshot. */
|
|
356
|
+
int GetNodesCount() const;
|
|
357
|
+
|
|
358
|
+
/** Returns a node by index. */
|
|
359
|
+
const HeapGraphNode* GetNode(int index) const;
|
|
360
|
+
|
|
361
|
+
/** Returns a max seen JS object Id. */
|
|
362
|
+
SnapshotObjectId GetMaxSnapshotJSObjectId() const;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Deletes the snapshot and removes it from HeapProfiler's list.
|
|
366
|
+
* All pointers to nodes, edges and paths previously returned become
|
|
367
|
+
* invalid.
|
|
368
|
+
*/
|
|
369
|
+
void Delete();
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Prepare a serialized representation of the snapshot. The result
|
|
373
|
+
* is written into the stream provided in chunks of specified size.
|
|
374
|
+
* The total length of the serialized snapshot is unknown in
|
|
375
|
+
* advance, it can be roughly equal to JS heap size (that means,
|
|
376
|
+
* it can be really big - tens of megabytes).
|
|
377
|
+
*
|
|
378
|
+
* For the JSON format, heap contents are represented as an object
|
|
379
|
+
* with the following structure:
|
|
380
|
+
*
|
|
381
|
+
* {
|
|
382
|
+
* snapshot: {
|
|
383
|
+
* title: "...",
|
|
384
|
+
* uid: nnn,
|
|
385
|
+
* meta: { meta-info },
|
|
386
|
+
* node_count: nnn,
|
|
387
|
+
* edge_count: nnn
|
|
388
|
+
* },
|
|
389
|
+
* nodes: [nodes array],
|
|
390
|
+
* edges: [edges array],
|
|
391
|
+
* strings: [strings array]
|
|
392
|
+
* }
|
|
393
|
+
*
|
|
394
|
+
* Nodes reference strings, other nodes, and edges by their indexes
|
|
395
|
+
* in corresponding arrays.
|
|
396
|
+
*/
|
|
397
|
+
void Serialize(OutputStream* stream,
|
|
398
|
+
SerializationFormat format = kJSON) const;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* An interface for reporting progress and controlling long-running
|
|
404
|
+
* activities.
|
|
405
|
+
*/
|
|
406
|
+
class V8_EXPORT ActivityControl { // NOLINT
|
|
407
|
+
public:
|
|
408
|
+
enum ControlOption {
|
|
409
|
+
kContinue = 0,
|
|
410
|
+
kAbort = 1
|
|
411
|
+
};
|
|
412
|
+
virtual ~ActivityControl() {}
|
|
413
|
+
/**
|
|
414
|
+
* Notify about current progress. The activity can be stopped by
|
|
415
|
+
* returning kAbort as the callback result.
|
|
416
|
+
*/
|
|
417
|
+
virtual ControlOption ReportProgressValue(int done, int total) = 0;
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Interface for controlling heap profiling. Instance of the
|
|
423
|
+
* profiler can be retrieved using v8::Isolate::GetHeapProfiler.
|
|
424
|
+
*/
|
|
425
|
+
class V8_EXPORT HeapProfiler {
|
|
426
|
+
public:
|
|
427
|
+
/**
|
|
428
|
+
* Callback function invoked for obtaining RetainedObjectInfo for
|
|
429
|
+
* the given JavaScript wrapper object. It is prohibited to enter V8
|
|
430
|
+
* while the callback is running: only getters on the handle and
|
|
431
|
+
* GetPointerFromInternalField on the objects are allowed.
|
|
432
|
+
*/
|
|
433
|
+
typedef RetainedObjectInfo* (*WrapperInfoCallback)(uint16_t class_id,
|
|
434
|
+
Local<Value> wrapper);
|
|
435
|
+
|
|
436
|
+
/** Returns the number of snapshots taken. */
|
|
437
|
+
int GetSnapshotCount();
|
|
438
|
+
|
|
439
|
+
/** Returns a snapshot by index. */
|
|
440
|
+
const HeapSnapshot* GetHeapSnapshot(int index);
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Returns SnapshotObjectId for a heap object referenced by |value| if
|
|
444
|
+
* it has been seen by the heap profiler, kUnknownObjectId otherwise.
|
|
445
|
+
*/
|
|
446
|
+
SnapshotObjectId GetObjectId(Local<Value> value);
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* Returns heap object with given SnapshotObjectId if the object is alive,
|
|
450
|
+
* otherwise empty handle is returned.
|
|
451
|
+
*/
|
|
452
|
+
Local<Value> FindObjectById(SnapshotObjectId id);
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* Clears internal map from SnapshotObjectId to heap object. The new objects
|
|
456
|
+
* will not be added into it unless a heap snapshot is taken or heap object
|
|
457
|
+
* tracking is kicked off.
|
|
458
|
+
*/
|
|
459
|
+
void ClearObjectIds();
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* A constant for invalid SnapshotObjectId. GetSnapshotObjectId will return
|
|
463
|
+
* it in case heap profiler cannot find id for the object passed as
|
|
464
|
+
* parameter. HeapSnapshot::GetNodeById will always return NULL for such id.
|
|
465
|
+
*/
|
|
466
|
+
static const SnapshotObjectId kUnknownObjectId = 0;
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Callback interface for retrieving user friendly names of global objects.
|
|
470
|
+
*/
|
|
471
|
+
class ObjectNameResolver {
|
|
472
|
+
public:
|
|
473
|
+
/**
|
|
474
|
+
* Returns name to be used in the heap snapshot for given node. Returned
|
|
475
|
+
* string must stay alive until snapshot collection is completed.
|
|
476
|
+
*/
|
|
477
|
+
virtual const char* GetName(Local<Object> object) = 0;
|
|
478
|
+
|
|
479
|
+
protected:
|
|
480
|
+
virtual ~ObjectNameResolver() {}
|
|
481
|
+
};
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Takes a heap snapshot and returns it.
|
|
485
|
+
*/
|
|
486
|
+
const HeapSnapshot* TakeHeapSnapshot(
|
|
487
|
+
ActivityControl* control = NULL,
|
|
488
|
+
ObjectNameResolver* global_object_name_resolver = NULL);
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* Starts tracking of heap objects population statistics. After calling
|
|
492
|
+
* this method, all heap objects relocations done by the garbage collector
|
|
493
|
+
* are being registered.
|
|
494
|
+
*
|
|
495
|
+
* |track_allocations| parameter controls whether stack trace of each
|
|
496
|
+
* allocation in the heap will be recorded and reported as part of
|
|
497
|
+
* HeapSnapshot.
|
|
498
|
+
*/
|
|
499
|
+
void StartTrackingHeapObjects(bool track_allocations = false);
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* Adds a new time interval entry to the aggregated statistics array. The
|
|
503
|
+
* time interval entry contains information on the current heap objects
|
|
504
|
+
* population size. The method also updates aggregated statistics and
|
|
505
|
+
* reports updates for all previous time intervals via the OutputStream
|
|
506
|
+
* object. Updates on each time interval are provided as a stream of the
|
|
507
|
+
* HeapStatsUpdate structure instances.
|
|
508
|
+
* If |timestamp_us| is supplied, timestamp of the new entry will be written
|
|
509
|
+
* into it. The return value of the function is the last seen heap object Id.
|
|
510
|
+
*
|
|
511
|
+
* StartTrackingHeapObjects must be called before the first call to this
|
|
512
|
+
* method.
|
|
513
|
+
*/
|
|
514
|
+
SnapshotObjectId GetHeapStats(OutputStream* stream,
|
|
515
|
+
int64_t* timestamp_us = NULL);
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Stops tracking of heap objects population statistics, cleans up all
|
|
519
|
+
* collected data. StartHeapObjectsTracking must be called again prior to
|
|
520
|
+
* calling GetHeapStats next time.
|
|
521
|
+
*/
|
|
522
|
+
void StopTrackingHeapObjects();
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Deletes all snapshots taken. All previously returned pointers to
|
|
526
|
+
* snapshots and their contents become invalid after this call.
|
|
527
|
+
*/
|
|
528
|
+
void DeleteAllHeapSnapshots();
|
|
529
|
+
|
|
530
|
+
/** Binds a callback to embedder's class ID. */
|
|
531
|
+
void SetWrapperClassInfoProvider(
|
|
532
|
+
uint16_t class_id,
|
|
533
|
+
WrapperInfoCallback callback);
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Default value of persistent handle class ID. Must not be used to
|
|
537
|
+
* define a class. Can be used to reset a class of a persistent
|
|
538
|
+
* handle.
|
|
539
|
+
*/
|
|
540
|
+
static const uint16_t kPersistentHandleNoClassId = 0;
|
|
541
|
+
|
|
542
|
+
/** Returns memory used for profiler internal data and snapshots. */
|
|
543
|
+
size_t GetProfilerMemorySize();
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* Sets a RetainedObjectInfo for an object group (see V8::SetObjectGroupId).
|
|
547
|
+
*/
|
|
548
|
+
void SetRetainedObjectInfo(UniqueId id, RetainedObjectInfo* info);
|
|
549
|
+
|
|
550
|
+
private:
|
|
551
|
+
HeapProfiler();
|
|
552
|
+
~HeapProfiler();
|
|
553
|
+
HeapProfiler(const HeapProfiler&);
|
|
554
|
+
HeapProfiler& operator=(const HeapProfiler&);
|
|
555
|
+
};
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Interface for providing information about embedder's objects
|
|
560
|
+
* held by global handles. This information is reported in two ways:
|
|
561
|
+
*
|
|
562
|
+
* 1. When calling AddObjectGroup, an embedder may pass
|
|
563
|
+
* RetainedObjectInfo instance describing the group. To collect
|
|
564
|
+
* this information while taking a heap snapshot, V8 calls GC
|
|
565
|
+
* prologue and epilogue callbacks.
|
|
566
|
+
*
|
|
567
|
+
* 2. When a heap snapshot is collected, V8 additionally
|
|
568
|
+
* requests RetainedObjectInfos for persistent handles that
|
|
569
|
+
* were not previously reported via AddObjectGroup.
|
|
570
|
+
*
|
|
571
|
+
* Thus, if an embedder wants to provide information about native
|
|
572
|
+
* objects for heap snapshots, he can do it in a GC prologue
|
|
573
|
+
* handler, and / or by assigning wrapper class ids in the following way:
|
|
574
|
+
*
|
|
575
|
+
* 1. Bind a callback to class id by calling SetWrapperClassInfoProvider.
|
|
576
|
+
* 2. Call SetWrapperClassId on certain persistent handles.
|
|
577
|
+
*
|
|
578
|
+
* V8 takes ownership of RetainedObjectInfo instances passed to it and
|
|
579
|
+
* keeps them alive only during snapshot collection. Afterwards, they
|
|
580
|
+
* are freed by calling the Dispose class function.
|
|
581
|
+
*/
|
|
582
|
+
class V8_EXPORT RetainedObjectInfo { // NOLINT
|
|
583
|
+
public:
|
|
584
|
+
/** Called by V8 when it no longer needs an instance. */
|
|
585
|
+
virtual void Dispose() = 0;
|
|
586
|
+
|
|
587
|
+
/** Returns whether two instances are equivalent. */
|
|
588
|
+
virtual bool IsEquivalent(RetainedObjectInfo* other) = 0;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Returns hash value for the instance. Equivalent instances
|
|
592
|
+
* must have the same hash value.
|
|
593
|
+
*/
|
|
594
|
+
virtual intptr_t GetHash() = 0;
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* Returns human-readable label. It must be a null-terminated UTF-8
|
|
598
|
+
* encoded string. V8 copies its contents during a call to GetLabel.
|
|
599
|
+
*/
|
|
600
|
+
virtual const char* GetLabel() = 0;
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* Returns human-readable group label. It must be a null-terminated UTF-8
|
|
604
|
+
* encoded string. V8 copies its contents during a call to GetGroupLabel.
|
|
605
|
+
* Heap snapshot generator will collect all the group names, create
|
|
606
|
+
* top level entries with these names and attach the objects to the
|
|
607
|
+
* corresponding top level group objects. There is a default
|
|
608
|
+
* implementation which is required because embedders don't have their
|
|
609
|
+
* own implementation yet.
|
|
610
|
+
*/
|
|
611
|
+
virtual const char* GetGroupLabel() { return GetLabel(); }
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Returns element count in case if a global handle retains
|
|
615
|
+
* a subgraph by holding one of its nodes.
|
|
616
|
+
*/
|
|
617
|
+
virtual intptr_t GetElementCount() { return -1; }
|
|
618
|
+
|
|
619
|
+
/** Returns embedder's object size in bytes. */
|
|
620
|
+
virtual intptr_t GetSizeInBytes() { return -1; }
|
|
621
|
+
|
|
622
|
+
protected:
|
|
623
|
+
RetainedObjectInfo() {}
|
|
624
|
+
virtual ~RetainedObjectInfo() {}
|
|
625
|
+
|
|
626
|
+
private:
|
|
627
|
+
RetainedObjectInfo(const RetainedObjectInfo&);
|
|
628
|
+
RetainedObjectInfo& operator=(const RetainedObjectInfo&);
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* A struct for exporting HeapStats data from V8, using "push" model.
|
|
634
|
+
* See HeapProfiler::GetHeapStats.
|
|
635
|
+
*/
|
|
636
|
+
struct HeapStatsUpdate {
|
|
637
|
+
HeapStatsUpdate(uint32_t index, uint32_t count, uint32_t size)
|
|
638
|
+
: index(index), count(count), size(size) { }
|
|
639
|
+
uint32_t index; // Index of the time interval that was changed.
|
|
640
|
+
uint32_t count; // New value of count field for the interval with this index.
|
|
641
|
+
uint32_t size; // New value of size field for the interval with this index.
|
|
642
|
+
};
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
} // namespace v8
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
#endif // V8_V8_PROFILER_H_
|