Skip to content

Instantly share code, notes, and snippets.

@paulfryzel
Created November 20, 2014 04:32
Show Gist options
  • Save paulfryzel/20d3774dffd329680cc3 to your computer and use it in GitHub Desktop.
Save paulfryzel/20d3774dffd329680cc3 to your computer and use it in GitHub Desktop.
lstat("tr2.js\0", 0x7FFF582EC468, 0x1) = 0 0
open("tr2.js\0", 0x0, 0x10C3FFBD0) = 3 0 [35/9138]
fstat(0x3, 0x7FFF582EC410, 0x10C3FFBD0) = 0 0
read(0x3, " var console = require(\"lib/console\");\n var ffi = require(\"lib/ffi\");\n var std = require(\"lib/stdlib\");\n\n console.log(ffi.c.fork());\n\0", 0x8A)
= 137 0
read(0x3, "\313\a\0", 0x1) = 0 0
close(0x3) = 0 0
lstat("lib/stdio.js\0", 0x7FFF582EC2A8, 0x1) = 0 0
open("lib/stdio.js\0", 0x0, 0x10C4539F0) = 3 0
fstat(0x3, 0x7FFF582EC250, 0x10C4539F0) = 0 0
read(0x3, "/*****************************************************************************\n*\n* Higgs JavaScript Virtual Machine\n*\n* This file is part of
the Higgs project. The project is distributed at:\n* https://github.com/maximecb/Higgs\n*\n* C", 0x34E2) = 13537 0
read(0x3, "conditions and the following disclaimer in the\n* documentation and/or other materials provided with the distribution.\n* 3. The name of the author may not be u
sed to endorse or promote\n* products derived from this software without specific prior", 0x1) = 0 0
close(0x3) = 0 0
lstat("lib/ffi.js\0", 0x7FFF582EC2A8, 0x1) = 0 0
open("lib/ffi.js\0", 0x0, 0x10F42D3B0) = 3 0
fstat(0x3, 0x7FFF582EC250, 0x10F42D3B0) = 0 0
read(0x3, "/*****************************************************************************\n*\n* Higgs JavaScript Virtual Machine\n*\n* This file is part of
the Higgs project. The project is distributed at:\n* https://github.com/maximecb/Higgs\n*\n* C", 0xDC3A) = 56377 0
read(0x3, "conditions and the following disclaimer in the\n* documentation and/or other materials provided with the distribution.\n* 3. The name of the author may not be u
sed to endorse or promote\n* products derived from this software without specific prior", 0x1) = 0 0
close(0x3) = 0 0
fstat(0x3, 0x7FFF582EC250, 0x10CD69250) = 0 0
open("lib/console.js\0", 0x0, 0x10CD69250) = 3 0
read(0x3, "\0", 0x1) = 0 0
close(0x3) = 0 0
mmap(0x0, 0x1000000, 0x3, 0x1002, 0xFFFFFFFF, 0x0) = 0x10EE10000 0
lstat("lib/console.js\0", 0x7FFF582EC2A8, 0x3) = 0 0
read(0x3, "/*****************************************************************************\n*\n* Higgs JavaScript Virtual Machine\n*\n* This file is part of
the Higgs project. The project is distributed at:\n* https://github.com/maximecb/Higgs\n*\n* C", 0x1BD7) = 7126 0
mmap(0x0, 0x1000000, 0x3, 0x1002, 0xFFFFFFFF, 0x0) = 0x10FED6000 0
fcntl_nocancel(0x0, 0x3, 0x0) = 2 0
lstat("lib/stdlib.js\0", 0x7FFF582EC2A8, 0x0) = 0 0
open("lib/stdlib.js\0", 0x0, 0x10F6DB6F0) = 3 0
fstat(0x3, 0x7FFF582EC250, 0x10F6DB6F0) = 0 0
read(0x3, "/*****************************************************************************\n*\n* Higgs JavaScript Virtual Machine\n*\n* This file is part of the Higgs project. The project is distributed at:\n* https://github.com/maximecb/Higgs\n*\n* C", 0x12A9) = 4776 0
read(0x3, "conditions and the following disclaimer in the\n* documentation and/or other materials provided with the distribution.\n* 3. The name of the author may not be used to endorse or promote\n* products derived from this software without specific prior", 0x1) = 0 0
close(0x3) = 0 0
getrlimit(0x1008, 0x7FFF582EC250, 0x0) = 0 0
Caught segmentation fault
IP=null
exiting
fcntl_nocancel(0x1, 0x3, 0x0) = 2 0
fcntl_nocancel(0x2, 0x3, 0x0) = 2 0
fork() = 33882 0
33882
ioctl(0x1, 0x4004667A, 0x7FFF582EC12C) = 0 0
write_nocancel(0x1, "33882\n\0", 0x6) = 6 0
munmap(0x107F3A000, 0x100000) = 0 0
munmap(0x10803A000, 0x300000) = 0 0
munmap(0x10C84A000, 0x600000) = 0 0
madvise(0x10ED6B000, 0x21000, 0x9) = 0 0
munmap(0x10EE10000, 0x1000000) = 0 0
madvise(0x10FE31000, 0x21000, 0x9) = 0 0
madvise(0x10FE94000, 0x21000, 0x9) = 0 0
munmap(0x10FED6000, 0x1000000) = 0 0
madvise(0x110ED6000, 0x21000, 0x9) = 0 0
madvise(0x110EF7000, 0x21000, 0x9) = 0 0
madvise(0x110F5A000, 0x21000, 0x9) = 0 0
munmap(0x10833A000, 0x1800000) = 0 0
munmap(0x10D54A000, 0x800000) = 0 0
madvise(0x10EDEF000, 0x21000, 0x9) = 0 0
madvise(0x10FE10000, 0x21000, 0x9) = 0 0
madvise(0x10FEB5000, 0x21000, 0x9) = 0 0
madvise(0x110F18000, 0x21000, 0x9) = 0 0
madvise(0x110F39000, 0x21000, 0x9) = 0 0
munmap(0x10C33A000, 0x10000) = 0 0
munmap(0x10B33A000, 0x1000000) = 0 0
munmap(0x107E3A000, 0x100000) = 0 0
munmap(0x10CE4A000, 0x700000) = 0 0
madvise(0x10ED4A000, 0x21000, 0x9) = 0 0
madvise(0x10EDCE000, 0x21000, 0x9) = 0 0
madvise(0x10FE52000, 0x21000, 0x9) = 0 0
madvise(0x10FE73000, 0x21000, 0x9) = 0 0
fstat64(0x1, 0x7FFF582EC0E8, 0x1) = 0 0
munmap(0x109B3A000, 0x1800000) = 0 0
munmap(0x10C34A000, 0x500000) = 0 0
munmap(0x10DD4A000, 0x1000000) = 0 0
madvise(0x10ED8C000, 0x21000, 0x9) = 0 0
madvise(0x10EDAD000, 0x21000, 0x9) = 0 0
madvise(0x110F7B000, 0x21000, 0x9) = 0 0
@paulfryzel
Copy link
Author

dtruss ./higgs tr2.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment