Here is the output from running with all IRHydra flags.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| const ITER = 1e7; | |
| function Foo() { | |
| this.futz = this.constructor.futz; | |
| } | |
| Foo.futz = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "targets": [{ | |
| "target_name": "addon", | |
| "sources": [ "main.cc" ] | |
| }] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| const ITER = 1e7; | |
| function parseArgs(args, start) { | |
| var arr = []; | |
| for (var i = start; i < args.length; i++) | |
| arr.push(args[i]); | |
| return arr; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <v8.h> | |
| #include <node.h> | |
| using namespace v8; | |
| class Visitor42 : public PersistentHandleVisitor { | |
| public: | |
| virtual void VisitPersistentHandle(Persistent<Value>* value, | |
| uint16_t class_id) { | |
| if (class_id == 0xA10C) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| function spliceOne(array, index) { | |
| var newLength = array.length - 1; | |
| for (var i = index; i < newLength; ++i) { | |
| array[i] = array[i + 1]; | |
| } | |
| array.length = newLength; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (gdb) r | |
| Starting program: /var/projects/nubjs-deps/v8/out/x64.debug/d8 /tmp/crash.js | |
| [Thread debugging using libthread_db enabled] | |
| Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". | |
| # | |
| # Fatal error in CALL_AND_RETRY_LAST | |
| # Allocation failed - process out of memory | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| const net = require('net'); | |
| const log = process._rawDebug; | |
| function pServer(port) { | |
| return new Promise(function(res, rej) { | |
| let serv = net.createServer().listen(port, function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| How to build/use | |
| - Put these in the same folder then run | |
| $ /path/to/nsolid/nsolid $(which node-gyp) rebuild --nodedir=/path/to/nsolid/../ | |
| If it builds properly then run | |
| $ /path/to/nsolid/nsolid run.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| const SlowBuffer = require('buffer').SlowBuffer; | |
| const ITER = 1e7; | |
| const SIZE = 65536; | |
| let t = process.hrtime() | |
| for (let i = 0; i < ITER; i++) { | |
| new SlowBuffer(SIZE); | |
| } |