Paste: Dies once deployed...
Author: | redline6561 |
Mode: | factor |
Date: | Sat, 29 May 2010 00:18:34 |
Plain Text |
USING: kernel io namespaces sequences command-line io.directories.search
io.files io.pathnames io.launcher combinators random ;
IN: randomfile
: vid? ( extension -- ? )
{ "avi" "mp4" "mov" "flv" "m4v" "mpg" "mpeg" "mkv" "ogm" "ogv" } member? ;
: doc? ( extension -- ? ) { "ps" "pdf" "djvu" "dvi" } member? ;
: img? ( extension -- ? ) { "jpg" "png" } member? ;
: mp3? ( extension -- ? ) { "mp3" } member? ;
: ogg? ( extension -- ? ) { "ogg" } member? ;
: play-options ( filepath -- filepath process-desc )
{
{ [ dup file-extension vid? ] [ { "smplayer" "-fullscreen" } ] }
{ [ dup file-extension doc? ] [ { "evince" } ] }
{ [ dup file-extension img? ] [ { "feh" "--bg-scale" } ] }
{ [ dup file-extension mp3? ] [ { "mpg123" } ] }
{ [ dup file-extension ogg? ] [ { "ogg123" } ] }
[ "Error: not implemented yet." throw ]
} cond ;
: play-file ( file process-desc -- process )
swap suffix run-detached ;
: choose-file ( dirpath -- filepath )
t recursive-directory-files 1 sample first ;
: check-args ( -- string )
command-line get [ "Usage: randomfile <path>" ] when-empty ;
: validate-dir ( string -- filepath? )
[ dup exists? ] [ choose-file ] when ;
: randomfile ( -- process )
check-args validate-dir play-options play-file ;
MAIN: randomfile
Author: | redline6561 |
Mode: | factor |
Date: | Sat, 29 May 2010 00:19:37 |
Plain Text |
[redline@lispmachine randomfile]$ strace ./randomfile
execve("./randomfile", ["./randomfile"], [/* 47 vars */]) = 0
brk(0) = 0x665000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7ffa000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=82814, ...}) = 0
mmap(NULL, 82814, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ffff7fe5000
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=18770, ...}) = 0
mmap(NULL, 2109704, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff7bdb000
mprotect(0x7ffff7bdd000, 2097152, PROT_NONE) = 0
mmap(0x7ffff7ddd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7ffff7ddd000
close(3) = 0
open("/lib/librt.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`!\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=42356, ...}) = 0
mmap(NULL, 2128880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff79d3000
mprotect(0x7ffff79da000, 2093056, PROT_NONE) = 0
mmap(0x7ffff7bd9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7ffff7bd9000
close(3) = 0
open("/lib/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300Y\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=131271, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fe4000
mmap(NULL, 2208640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff77b7000
mprotect(0x7ffff77ce000, 2093056, PROT_NONE) = 0
mmap(0x7ffff79cd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7ffff79cd000
mmap(0x7ffff79cf000, 13184, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ffff79cf000
close(3) = 0
open("/usr/lib/libpango-1.0.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\355\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=355121, ...}) = 0
mmap(NULL, 2395264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff756e000
mprotect(0x7ffff75b5000, 2093056, PROT_NONE) = 0
mmap(0x7ffff77b4000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x46000) = 0x7ffff77b4000
close(3) = 0
open("/usr/lib/libpangocairo-1.0.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0pE\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=62723, ...}) = 0
mmap(NULL, 2141744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff7363000
mprotect(0x7ffff736e000, 2093056, PROT_NONE) = 0
mmap(0x7ffff756d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7ffff756d000
close(3) = 0
open("/usr/lib/libcairo.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\257\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=607885, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fe3000
mmap(NULL, 2600504, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff70e8000
mprotect(0x7ffff7160000, 2097152, PROT_NONE) = 0
mmap(0x7ffff7360000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x78000) = 0x7ffff7360000
close(3) = 0
open("/usr/lib/libglib-2.0.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0pU\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1114539, ...}) = 0
mmap(NULL, 3012840, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff6e08000
mprotect(0x7ffff6ee7000, 2093056, PROT_NONE) = 0
mmap(0x7ffff70e6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xde000) = 0x7ffff70e6000
close(3) = 0
open("/usr/lib/libgobject-2.0.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\213\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=371296, ...}) = 0
mmap(NULL, 2391656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff6bc0000
mprotect(0x7ffff6c06000, 2097152, PROT_NONE) = 0
mmap(0x7ffff6e06000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x46000) = 0x7ffff6e06000
close(3) = 0
open("/usr/lib/libGL.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360=\2\0\0\0\0\0"..., 832) = 832
lseek(3, 493684, SEEK_SET) = 493684
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0\24\0\0\0", 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=687902, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fe2000
mmap(NULL, 2637200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff693c000
mprotect(0x7ffff69b5000, 2093056, PROT_NONE) = 0
mmap(0x7ffff6bb4000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x78000) = 0x7ffff6bb4000
close(3) = 0
open("/usr/lib/libX11.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\332\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1388580, ...}) = 0
mmap(NULL, 3378488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff6603000
mprotect(0x7ffff6736000, 2097152, PROT_NONE) = 0
mmap(0x7ffff6936000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x133000) = 0x7ffff6936000
close(3) = 0
open("/usr/lib/libstdc++.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\305\5\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1312423, ...}) = 0
mmap(NULL, 3187032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff62f8000
mprotect(0x7ffff63e5000, 2093056, PROT_NONE) = 0
mmap(0x7ffff65e4000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xec000) = 0x7ffff65e4000
mmap(0x7ffff65ee000, 82264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ffff65ee000
close(3) = 0
open("/lib/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P>\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=574609, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fe1000
mmap(NULL, 2625752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff6076000
mprotect(0x7ffff60f7000, 2093056, PROT_NONE) = 0
mmap(0x7ffff62f6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x80000) = 0x7ffff62f6000
close(3) = 0
open("/usr/lib/libgcc_s.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300,\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=99634, ...}) = 0
mmap(NULL, 2184728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff5e60000
mprotect(0x7ffff5e75000, 2097152, PROT_NONE) = 0
mmap(0x7ffff6075000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7ffff6075000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\354\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1651953, ...}) = 0
mmap(NULL, 3521384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff5b04000
mprotect(0x7ffff5c56000, 2097152, PROT_NONE) = 0
mmap(0x7ffff5e56000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x152000) = 0x7ffff5e56000
mmap(0x7ffff5e5b000, 19304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ffff5e5b000
close(3) = 0
open("/usr/lib/libgthread-2.0.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\24\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=23178, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fe0000
mmap(NULL, 2112440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff5900000
mprotect(0x7ffff5904000, 2093056, PROT_NONE) = 0
mmap(0x7ffff5b03000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7ffff5b03000
close(3) = 0
open("/usr/lib/libgmodule-2.0.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \20\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=15713, ...}) = 0
mmap(NULL, 2107320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff56fd000
mprotect(0x7ffff5700000, 2093056, PROT_NONE) = 0
mmap(0x7ffff58ff000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7ffff58ff000
close(3) = 0
open("/usr/lib/libpangoft2-1.0.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360u\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=206837, ...}) = 0
mmap(NULL, 2264968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff54d4000
mprotect(0x7ffff54fc000, 2093056, PROT_NONE) = 0
mmap(0x7ffff56fb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27000) = 0x7ffff56fb000
close(3) = 0
open("/usr/lib/libfreetype.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\310\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=681285, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fdf000
mmap(NULL, 2713112, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff523d000
mprotect(0x7ffff52ce000, 2097152, PROT_NONE) = 0
mmap(0x7ffff54ce000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x91000) = 0x7ffff54ce000
close(3) = 0
open("/usr/lib/libfontconfig.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240[\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=246804, ...}) = 0
mmap(NULL, 2308584, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff5009000
mprotect(0x7ffff503b000, 2097152, PROT_NONE) = 0
mmap(0x7ffff523b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x32000) = 0x7ffff523b000
close(3) = 0
open("/usr/lib/libpixman-1.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220q\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=434279, ...}) = 0
mmap(NULL, 2493408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff4da8000
mprotect(0x7ffff4e05000, 2097152, PROT_NONE) = 0
mmap(0x7ffff5005000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5d000) = 0x7ffff5005000
close(3) = 0
open("/usr/lib/libpng14.so.14", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360E\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=183369, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fde000
mmap(NULL, 2260032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff4b80000
mprotect(0x7ffff4ba8000, 2093056, PROT_NONE) = 0
mmap(0x7ffff4da7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27000) = 0x7ffff4da7000
close(3) = 0
open("/usr/lib/libxcb-render-util.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\25\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=17704, ...}) = 0
mmap(NULL, 2108440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff497d000
mprotect(0x7ffff4980000, 2093056, PROT_NONE) = 0
mmap(0x7ffff4b7f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7ffff4b7f000
close(3) = 0
open("/usr/lib/libxcb-render.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20.\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=44461, ...}) = 0
mmap(NULL, 2128512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff4775000
mprotect(0x7ffff477c000, 2097152, PROT_NONE) = 0
mmap(0x7ffff497c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7ffff497c000
close(3) = 0
open("/usr/lib/libxcb.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\206\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=150361, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fdd000
mmap(NULL, 2207280, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff455a000
mprotect(0x7ffff4575000, 2093056, PROT_NONE) = 0
mmap(0x7ffff4774000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7ffff4774000
close(3) = 0
open("/usr/lib/libXrender.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\30\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=43694, ...}) = 0
mmap(NULL, 2133416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff4351000
mprotect(0x7ffff435a000, 2093056, PROT_NONE) = 0
mmap(0x7ffff4559000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7ffff4559000
close(3) = 0
open("/usr/lib/libz.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\35\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=106346, ...}) = 0
mmap(NULL, 2194032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff4139000
mprotect(0x7ffff4151000, 2093056, PROT_NONE) = 0
mmap(0x7ffff4350000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7ffff4350000
close(3) = 0
open("/lib/libpcre.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\24\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=202313, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fdc000
mmap(NULL, 2292208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff3f09000
mprotect(0x7ffff3f39000, 2093056, PROT_NONE) = 0
mmap(0x7ffff4138000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2f000) = 0x7ffff4138000
close(3) = 0
open("/usr/lib/libXext.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3204\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=87458, ...}) = 0
mmap(NULL, 2170152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff3cf7000
mprotect(0x7ffff3d08000, 2097152, PROT_NONE) = 0
mmap(0x7ffff3f08000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x7ffff3f08000
close(3) = 0
open("/usr/lib/libXxf86vm.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=23066, ...}) = 0
mmap(NULL, 2114792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff3af2000
mprotect(0x7ffff3af7000, 2093056, PROT_NONE) = 0
mmap(0x7ffff3cf6000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7ffff3cf6000
close(3) = 0
open("/usr/lib/libXdamage.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\n\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=11283, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fdb000
mmap(NULL, 2103912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff38f0000
mprotect(0x7ffff38f2000, 2093056, PROT_NONE) = 0
mmap(0x7ffff3af1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7ffff3af1000
close(3) = 0
open("/usr/lib/libXfixes.so.3", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\23\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=25131, ...}) = 0
mmap(NULL, 2116200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff36eb000
mprotect(0x7ffff36f0000, 2093056, PROT_NONE) = 0
mmap(0x7ffff38ef000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7ffff38ef000
close(3) = 0
open("/usr/lib/libX11-xcb.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\4\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=5560, ...}) = 0
mmap(NULL, 2099248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff34ea000
mprotect(0x7ffff34eb000, 2093056, PROT_NONE) = 0
mmap(0x7ffff36ea000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x7ffff36ea000
close(3) = 0
open("/usr/lib/libxcb-glx.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\207\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=116111, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fda000
mmap(NULL, 2177696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff32d6000
mprotect(0x7ffff32e8000, 2097152, PROT_NONE) = 0
mmap(0x7ffff34e8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12000) = 0x7ffff34e8000
close(3) = 0
open("/usr/lib/libdrm.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20/\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=49799, ...}) = 0
mmap(NULL, 2137936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff30cc000
mprotect(0x7ffff30d6000, 2093056, PROT_NONE) = 0
mmap(0x7ffff32d5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7ffff32d5000
close(3) = 0
open("/usr/lib/libexpat.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240:\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=179442, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fd9000
mmap(NULL, 2257904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff2ea4000
mprotect(0x7ffff2eca000, 2093056, PROT_NONE) = 0
mmap(0x7ffff30c9000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7ffff30c9000
close(3) = 0
open("/usr/lib/libXau.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\f\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=13073, ...}) = 0
mmap(NULL, 2105128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff2ca2000
mprotect(0x7ffff2ca4000, 2093056, PROT_NONE) = 0
mmap(0x7ffff2ea3000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7ffff2ea3000
close(3) = 0
open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\22\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=24626, ...}) = 0
mmap(NULL, 2115168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffff2a9d000
mprotect(0x7ffff2aa2000, 2093056, PROT_NONE) = 0
mmap(0x7ffff2ca1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7ffff2ca1000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fd8000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fd7000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fd6000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fd4000
arch_prctl(ARCH_SET_FS, 0x7ffff7fd4860) = 0
mprotect(0x7ffff5e56000, 16384, PROT_READ) = 0
mprotect(0x7ffff62f6000, 4096, PROT_READ) = 0
mprotect(0x7ffff65e4000, 32768, PROT_READ) = 0
mprotect(0x7ffff79cd000, 4096, PROT_READ) = 0
mprotect(0x7ffff7bd9000, 4096, PROT_READ) = 0
mprotect(0x7ffff7ddd000, 4096, PROT_READ) = 0
mprotect(0x7ffff7ffc000, 4096, PROT_READ) = 0
munmap(0x7ffff7fe5000, 82814) = 0
set_tid_address(0x7ffff7fd4b30) = 28689
set_robust_list(0x7ffff7fd4b40, 0x18) = 0
futex(0x7fffffffe6ac, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fffffffe6ac, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7ffff7fd4860) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x7ffff77bc460, [], SA_RESTORER|SA_SIGINFO, 0x7ffff77c5f20}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7ffff77bc4f0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7ffff77c5f20}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
futex(0x7ffff65eeca8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
brk(0) = 0x665000
brk(0x686000) = 0x686000
readlink("/proc/self/exe", "/home/redline/.factor/randomfile/randomfile", 4096) = 43
readlink("/proc/self/exe", "/home/redline/.factor/randomfile/randomfile", 4096) = 43
futex(0x7ffff7dde0e0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
mmap(NULL, 270336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7f92000
mprotect(0x7ffff7f92000, 4096, PROT_NONE) = 0
mprotect(0x7ffff7fd3000, 4096, PROT_NONE) = 0
mmap(NULL, 270336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7f50000
mprotect(0x7ffff7f50000, 4096, PROT_NONE) = 0
mprotect(0x7ffff7f91000, 4096, PROT_NONE) = 0
mmap(NULL, 1056768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7e4e000
mprotect(0x7ffff7e4e000, 4096, PROT_NONE) = 0
mprotect(0x7ffff7f4f000, 4096, PROT_NONE) = 0
mmap(NULL, 270336, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7e0c000
mprotect(0x7ffff7e0c000, 4096, PROT_NONE) = 0
mprotect(0x7ffff7e4d000, 4096, PROT_NONE) = 0
open("/home/redline/.factor/randomfile/randomfile.image", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2089472, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7ff9000
read(3, "\f\r\16\17\0\0\0\0\4\0\0\0\0\0\0\0\0\0\10\346\377\177\0\0\320G\22\0\0\0\0\0"..., 4096) = 4096
mmap(NULL, 212082688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fffe605b000
mprotect(0x7fffe605b000, 4096, PROT_NONE) = 0
mprotect(0x7ffff2a9c000, 4096, PROT_NONE) = 0
mmap(NULL, 831488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fffe5f90000
mmap(NULL, 1576960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fffe5e0f000
mmap(NULL, 1576960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fffe5c8e000
mmap(NULL, 790528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fffe5bcd000
read(3, "\334:\n\346\377\177\0\0P\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0,\301\n\346\377\177\0\0"..., 1191936) = 1191936
read(3, "\365\5\0\260\20\6\0\240#\6\0\260>\6\0\240Q\6\0\260l\6\0\240\177\6\0\260\303\6\0\240"..., 4096) = 4096
mmap(NULL, 67117056, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fffe1bcb000
mprotect(0x7fffe1bcb000, 4096, PROT_NONE) = 0
mprotect(0x7fffe5bcc000, 4096, PROT_NONE) = 0
mmap(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fffe1b4a000
mmap(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fffe1ac9000
read(3, "\356\10H\205\322\17\205\20\0\0\0I\213F\360I\203\356\10I\213\16\351[\0\0\0H\203\340\17H"..., 888832) = 888832
read(3, "L\215\5\371\377\377\377h \0\0\0APH\203\354\10I\213\6H\213H\tI\203\306\10I\211N"..., 4096) = 512
close(3) = 0
munmap(0x7ffff7ff9000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=82814, ...}) = 0
mmap(NULL, 82814, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ffff7fe5000
close(3) = 0
open("/usr/lib/librt.so", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`!\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=42356, ...}) = 0
close(3) = 0
munmap(0x7ffff7fe5000, 82814) = 0
mmap(NULL, 1056768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fffe19c7000
mprotect(0x7fffe19c7000, 4096, PROT_NONE) = 0
mprotect(0x7fffe1ac8000, 4096, PROT_NONE) = 0
sigaltstack({ss_sp=0x7fffe19c8000, ss_flags=0, ss_size=1048576}, NULL) = 0
rt_sigaction(SIGBUS, {0x414df0, [], SA_RESTORER|SA_STACK|SA_SIGINFO, 0x7ffff77c5f20}, NULL, 8) = 0
rt_sigaction(SIGSEGV, {0x414df0, [], SA_RESTORER|SA_STACK|SA_SIGINFO, 0x7ffff77c5f20}, NULL, 8) = 0
rt_sigaction(SIGFPE, {0x414ca0, [], SA_RESTORER|SA_STACK|SA_SIGINFO, 0x7ffff77c5f20}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x414d80, [], SA_RESTORER|SA_STACK|SA_SIGINFO, 0x7ffff77c5f20}, NULL, 8) = 0
rt_sigaction(SIGILL, {0x414d80, [], SA_RESTORER|SA_STACK|SA_SIGINFO, 0x7ffff77c5f20}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7ffff77c5f20}, NULL, 8) = 0
pipe([3, 4]) = 0
pipe([5, 6]) = 0
pipe([7, 8]) = 0
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fffe11c6000
mprotect(0x7fffe11c6000, 4096, PROT_NONE) = 0
clone(child_stack=0x7fffe19c5e90, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fffe19c69e0, tls=0x7fffe19c6710, child_tidptr=0x7fffe19c69e0) = 28690
mmap(NULL, 270336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fffe1184000
mprotect(0x7fffe1184000, 4096, PROT_NONE) = 0
mprotect(0x7fffe11c5000, 4096, PROT_NONE) = 0
mmap(NULL, 270336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fffe1142000
mprotect(0x7fffe1142000, 4096, PROT_NONE) = 0
mprotect(0x7fffe1183000, 4096, PROT_NONE) = 0
mmap(NULL, 1056768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fffe1040000
mprotect(0x7fffe1040000, 4096, PROT_NONE) = 0
mprotect(0x7fffe1141000, 4096, PROT_NONE) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigreturn(0x665430) = 64
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fffe103f000
write(1, "The die word was called by the l"..., 71The die word was called by the library. Unless you called it yourself,
) = 71
write(1, "you have triggered a bug in Fact"..., 51you have triggered a bug in Factor. Please report.
) = 51
write(1, "Starting low level debugger...\n", 31Starting low level debugger...
) = 31
write(1, " Basic commands:\n", 18 Basic commands:
) = 18
write(1, "q -- continue exe"..., 57q -- continue executing Factor - NOT SAFE
) = 57
write(1, "im -- save image t"..., 44im -- save image to fep.image
) = 44
write(1, "x -- exit Factor\n", 32x -- exit Factor
) = 32
write(1, " Advanced commands:\n", 21 Advanced commands:
) = 21
write(1, "d <addr> <count> -- dump memory\n", 32d <addr> <count> -- dump memory
) = 32
write(1, "u <addr> -- dump object "..., 49u <addr> -- dump object at tagged <addr>
) = 49
write(1, ". <addr> -- print object"..., 50. <addr> -- print object at tagged <addr>
) = 50
write(1, "t -- toggle outpu"..., 43t -- toggle output trimming
) = 43
write(1, "s r -- dump data, r"..., 45s r -- dump data, retain stacks
) = 45
write(1, ".s .r .c -- print data, "..., 52.s .r .c -- print data, retain, call stacks
) = 52
write(1, "e -- dump environ"..., 37e -- dump environment
) = 37
write(1, "g -- dump generat"..., 37g -- dump generations
) = 37
write(1, "data -- data heap du"..., 35data -- data heap dump
) = 35
write(1, "words -- words dump\n", 31words -- words dump
) = 31
write(1, "tuples -- tuples dump\n", 32tuples -- tuples dump
) = 32
write(1, "refs <addr> -- find data he"..., 56refs <addr> -- find data heap references to object
) = 56
write(1, "push <addr> -- push object "..., 57push <addr> -- push object on data stack - NOT SAFE
) = 57
write(1, "code -- code heap du"..., 35code -- code heap dump
) = 35
write(1, "READY\n", 6READY
) = 6
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fffe103e000
read(0, x
"x\n", 1024) = 2
exit_group(1) = ?
New Annotation