Skip to content

Instantly share code, notes, and snippets.

@tiye
Last active May 19, 2024 11:15
Show Gist options
  • Save tiye/df2ef61489598a13241ad29bfda9c931 to your computer and use it in GitHub Desktop.
Save tiye/df2ef61489598a13241ad29bfda9c931 to your computer and use it in GitHub Desktop.
difference loading dylib with/out cache
execve("/home/chen/.cargo/bin/cr", ["cr", "-1"], 0x7fff39f9f308 /* 33 vars */) = 0
brk(NULL) = 0x565054d1e000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd0f18ad000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=87867, ...}) = 0
mmap(NULL, 87867, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd0f1897000
close(3) = 0
openat(AT_FDCWD, "/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=186480, ...}) = 0
mmap(NULL, 180680, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f186a000
mmap(0x7fd0f186e000, 143360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7fd0f186e000
mmap(0x7fd0f1891000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27000) = 0x7fd0f1891000
mmap(0x7fd0f1895000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2b000) = 0x7fd0f1895000
mmap(0x7fd0f1896000, 456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd0f1896000
close(3) = 0
openat(AT_FDCWD, "/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=946512, ...}) = 0
mmap(NULL, 925712, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1787000
mmap(0x7fd0f1797000, 487424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0x7fd0f1797000
mmap(0x7fd0f180e000, 368640, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x87000) = 0x7fd0f180e000
mmap(0x7fd0f1868000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe0000) = 0x7fd0f1868000
close(3) = 0
openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\242\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
fstat(3, {st_mode=S_IFREG|0755, st_size=2476880, ...}) = 0
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
mmap(NULL, 2018160, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f159a000
mmap(0x7fd0f15c2000, 1478656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x28000) = 0x7fd0f15c2000
mmap(0x7fd0f172b000, 319488, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x191000) = 0x7fd0f172b000
mmap(0x7fd0f1779000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1de000) = 0x7fd0f1779000
mmap(0x7fd0f177f000, 31600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd0f177f000
close(3) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd0f1598000
arch_prctl(ARCH_SET_FS, 0x7fd0f1598c00) = 0
set_tid_address(0x7fd0f1598ed0) = 118435
set_robust_list(0x7fd0f1598ee0, 24) = 0
rseq(0x7fd0f1599520, 0x20, 0, 0x53053053) = 0
mprotect(0x7fd0f1779000, 16384, PROT_READ) = 0
mprotect(0x7fd0f1868000, 4096, PROT_READ) = 0
mprotect(0x7fd0f1895000, 4096, PROT_READ) = 0
mprotect(0x56505448c000, 81920, PROT_READ) = 0
mprotect(0x7fd0f18e1000, 8192, PROT_READ) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
munmap(0x7fd0f1897000, 87867) = 0
poll([{fd=0, events=0}, {fd=1, events=0}, {fd=2, events=0}], 3, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd0f15da710}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGSEGV, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGSEGV, {sa_handler=0x5650543cc150, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7fd0f15da710}, NULL, 8) = 0
rt_sigaction(SIGBUS, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGBUS, {sa_handler=0x5650543cc150, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7fd0f15da710}, NULL, 8) = 0
sigaltstack(NULL, {ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=0}) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fd0f18aa000
mprotect(0x7fd0f18aa000, 4096, PROT_NONE) = 0
sigaltstack({ss_sp=0x7fd0f18ab000, ss_flags=0, ss_size=8192}, NULL) = 0
getrandom("\x5c\x8d\x0c\x65\xc2\xe8\x22\xb6", 8, GRND_NONBLOCK) = 8
brk(NULL) = 0x565054d1e000
brk(0x565054d3f000) = 0x565054d3f000
openat(AT_FDCWD, "/proc/self/maps", O_RDONLY|O_CLOEXEC) = 3
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "5650541c8000-5650541e7000 r--p 0"..., 1024) = 1024
read(3, "usr/lib64/libc.so.6\n7fd0f177d000"..., 1024) = 1024
read(3, " /usr/lib64/libgcc_s-"..., 1024) = 1024
close(3) = 0
sched_getaffinity(118435, 32, [0 1 2 3 4 5 6 7]) = 8
getrandom("\xde\x92\xde\x62\x8a\xfc\xd0\xe9\xf9\xa1\xb4\x92\x67\x6c\xf6\x26", 16, GRND_INSECURE) = 16
write(1, "registered platform APIs\n", 25registered platform APIs
) = 25
write(1, "calcit version: 0.8.51-a3\n", 26calcit version: 0.8.51-a3
) = 26
brk(0x565054d70000) = 0x565054d70000
mmap(NULL, 221184, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd0f1562000
mremap(0x7fd0f1562000, 221184, 442368, MREMAP_MAYMOVE) = 0x7fd0f14f6000
brk(0x565054d91000) = 0x565054d91000
brk(0x565054dbe000) = 0x565054dbe000
brk(0x565054ddf000) = 0x565054ddf000
mmap(NULL, 397312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd0f1495000
munmap(0x7fd0f14f6000, 442368) = 0
brk(0x565054e00000) = 0x565054e00000
brk(0x565054e21000) = 0x565054e21000
brk(0x565054e42000) = 0x565054e42000
brk(0x565054e63000) = 0x565054e63000
brk(0x565054e84000) = 0x565054e84000
brk(0x565054ea5000) = 0x565054ea5000
brk(0x565054ec6000) = 0x565054ec6000
brk(0x565054ee7000) = 0x565054ee7000
munmap(0x7fd0f1495000, 397312) = 0
brk(0x565054f08000) = 0x565054f08000
brk(0x565054f29000) = 0x565054f29000
brk(0x565054f4a000) = 0x565054f4a000
brk(0x565054f6b000) = 0x565054f6b000
write(1, "module folder: /home/chen/.confi"..., 50module folder: /home/chen/.config/calcit/modules/
) = 50
statx(AT_FDCWD, "compact.cirru", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=4971, ...}) = 0
openat(AT_FDCWD, "compact.cirru", O_RDONLY|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=4971, ...}) = 0
read(3, "\n{} (:package |regex)\n :configs"..., 4971) = 4971
read(3, "", 32) = 0
close(3) = 0
brk(0x565054f8c000) = 0x565054f8c000
brk(0x565054fad000) = 0x565054fad000
brk(0x565054fce000) = 0x565054fce000
brk(0x565054fef000) = 0x565054fef000
brk(0x565055010000) = 0x565055010000
brk(0x565055031000) = 0x565055031000
brk(0x565055052000) = 0x565055052000
write(1, "%%%% test for regex\n", 20%%%% test for regex
) = 20
write(1, "Test regular expression\n", 24Test regular expression
) = 24
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
brk(0x5650550b5000) = 0x5650550b5000
getrandom("\xab\xa8\x93\x59\x3f\x0c\x1e\x07\xa0\x5c\xe8\x79\x14\xe5\xac\x70", 16, GRND_INSECURE) = 16
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
brk(0x565055104000) = 0x565055104000
getrandom("\xf3\x84\xb9\x2d\x41\xbe\x87\x93\x0a\x00\x47\x9d\x2a\x99\xd8\xd6", 16, GRND_INSECURE) = 16
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
getrandom("\xe9\xee\xb1\x7c\x80\xe4\xe8\x25\xdd\x46\x19\x16\x7f\x39\x51\x6c", 16, GRND_INSECURE) = 16
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
getrandom("\x43\x06\x8d\x20\x0c\x03\x40\x3d\x4d\x4e\xf5\x66\xf9\xb7\x4b\xa6", 16, GRND_INSECURE) = 16
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
getrandom("\xb6\x64\xe3\x5d\xad\xf9\xc2\x1c\x3c\x60\xf1\xbb\x74\x89\x09\x31", 16, GRND_INSECURE) = 16
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
getrandom("\x17\x3b\x8e\x3a\x77\x10\x33\x8c\x03\xf4\x03\x0f\x98\xb6\x27\x22", 16, GRND_INSECURE) = 16
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
getrandom("\x0e\xf0\x71\x9e\xc5\xe8\x29\x06\x61\x20\xdc\xe3\x33\x91\xb1\x56", 16, GRND_INSECURE) = 16
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
getrandom("\x1d\x42\x13\xf7\xc8\xd8\x5a\x83\x99\xdc\x76\xd2\x35\xd9\x3d\xdc", 16, GRND_INSECURE) = 16
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
getrandom("\x65\xef\x29\x47\x79\x26\x6d\xd5\x33\x1b\x56\xa4\x65\x3e\xf3\x7d", 16, GRND_INSECURE) = 16
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
getrandom("\xec\x66\x31\x11\xe5\x59\x7a\x0b\x25\x14\xb0\xb0\x0f\xea\x93\x5e", 16, GRND_INSECURE) = 16
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
getrandom("\xc3\x46\x23\xb7\xb2\xec\xe2\x59\x28\x53\xac\xef\xfc\x4c\xc6\xd2", 16, GRND_INSECURE) = 16
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
getrandom("\x8d\x9e\xf4\x72\x82\xf0\xc4\x2a\xb2\x25\x9d\x7a\xd8\xe8\xa0\xa5", 16, GRND_INSECURE) = 16
munmap(0x7fd0f1200000, 3691040) = 0
write(1, "%%% test variable holding regex\n", 32%%% test variable holding regex
) = 32
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
munmap(0x7fd0f1200000, 3691040) = 0
write(1, "memory of regex patterns are set"..., 42memory of regex patterns are set to hold!
) = 42
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
getrandom("\x80\x7e\xca\xa8\x9a\x9a\x6f\xe5\xfe\xa8\xa0\x93\x92\x1f\x66\x30", 16, GRND_INSECURE) = 16
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
getrandom("\x33\x10\xc4\xd8\x63\xa9\xdd\x45\xbe\xe5\x59\xc3\xcc\x77\xed\x36", 16, GRND_INSECURE) = 16
munmap(0x7fd0f1200000, 3691040) = 0
write(1, "Pattern is: (&any-ref ...)\n", 27Pattern is: (&any-ref ...)
) = 27
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
getrandom("\xf7\xc1\x92\x5c\x4f\xe0\xad\x39\xca\x7c\xb0\xce\x90\x19\xcc\xce", 16, GRND_INSECURE) = 16
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
munmap(0x7fd0f1200000, 3691040) = 0
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
write(1, "patterns size 0\n", 16patterns size 0
) = 16
write(1, "re-drop found false at 0\n\n", 26re-drop found false at 0
) = 26
munmap(0x7fd0f1200000, 3691040) = 0
write(1, "(re-drop p2) => false\n", 22(re-drop p2) => false
) = 22
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0f1200000
mmap(0x7fd0f129e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7fd0f129e000
mmap(0x7fd0f147b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7fd0f147b000
mmap(0x7fd0f1540000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7fd0f1540000
close(3) = 0
mprotect(0x7fd0f1540000, 282624, PROT_READ) = 0
write(1, "patterns size 0\n", 16patterns size 0
) = 16
write(1, "re-drop found false at 0\n\n", 26re-drop found false at 0
) = 26
munmap(0x7fd0f1200000, 3691040) = 0
write(1, "(re-drop pattern) => false\n", 27(re-drop pattern) => false
) = 27
write(1, "took 13.653ms: false\n", 21took 13.653ms: false
) = 21
sigaltstack({ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=8192}, NULL) = 0
munmap(0x7fd0f18aa000, 12288) = 0
exit_group(0) = ?
+++ exited with 0 +++
execve("/home/chen/.cargo/bin/cr", ["cr", "-1"], 0x7ffd18f0c5a8 /* 33 vars */) = 0
brk(NULL) = 0x562cbee9c000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7c05221000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=87867, ...}) = 0
mmap(NULL, 87867, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f7c0520b000
close(3) = 0
openat(AT_FDCWD, "/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=186480, ...}) = 0
mmap(NULL, 180680, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f7c051de000
mmap(0x7f7c051e2000, 143360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f7c051e2000
mmap(0x7f7c05205000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27000) = 0x7f7c05205000
mmap(0x7f7c05209000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2b000) = 0x7f7c05209000
mmap(0x7f7c0520a000, 456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f7c0520a000
close(3) = 0
openat(AT_FDCWD, "/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=946512, ...}) = 0
mmap(NULL, 925712, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f7c050fb000
mmap(0x7f7c0510b000, 487424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0x7f7c0510b000
mmap(0x7f7c05182000, 368640, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x87000) = 0x7f7c05182000
mmap(0x7f7c051dc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe0000) = 0x7f7c051dc000
close(3) = 0
openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\242\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
fstat(3, {st_mode=S_IFREG|0755, st_size=2476880, ...}) = 0
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
mmap(NULL, 2018160, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f7c04f0e000
mmap(0x7f7c04f36000, 1478656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x28000) = 0x7f7c04f36000
mmap(0x7f7c0509f000, 319488, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x191000) = 0x7f7c0509f000
mmap(0x7f7c050ed000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1de000) = 0x7f7c050ed000
mmap(0x7f7c050f3000, 31600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f7c050f3000
close(3) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7c04f0c000
arch_prctl(ARCH_SET_FS, 0x7f7c04f0cc00) = 0
set_tid_address(0x7f7c04f0ced0) = 114695
set_robust_list(0x7f7c04f0cee0, 24) = 0
rseq(0x7f7c04f0d520, 0x20, 0, 0x53053053) = 0
mprotect(0x7f7c050ed000, 16384, PROT_READ) = 0
mprotect(0x7f7c051dc000, 4096, PROT_READ) = 0
mprotect(0x7f7c05209000, 4096, PROT_READ) = 0
mprotect(0x562cbe8dd000, 81920, PROT_READ) = 0
mprotect(0x7f7c05255000, 8192, PROT_READ) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
munmap(0x7f7c0520b000, 87867) = 0
poll([{fd=0, events=0}, {fd=1, events=0}, {fd=2, events=0}], 3, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f7c04f4e710}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGSEGV, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGSEGV, {sa_handler=0x562cbe81b710, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7f7c04f4e710}, NULL, 8) = 0
rt_sigaction(SIGBUS, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGBUS, {sa_handler=0x562cbe81b710, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7f7c04f4e710}, NULL, 8) = 0
sigaltstack(NULL, {ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=0}) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f7c0521e000
mprotect(0x7f7c0521e000, 4096, PROT_NONE) = 0
sigaltstack({ss_sp=0x7f7c0521f000, ss_flags=0, ss_size=8192}, NULL) = 0
getrandom("\x46\x74\x31\x61\xe5\x4f\xc0\xf6", 8, GRND_NONBLOCK) = 8
brk(NULL) = 0x562cbee9c000
brk(0x562cbeebd000) = 0x562cbeebd000
openat(AT_FDCWD, "/proc/self/maps", O_RDONLY|O_CLOEXEC) = 3
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "562cbe616000-562cbe635000 r--p 0"..., 1024) = 1024
read(3, "usr/lib64/libc.so.6\n7f7c050f1000"..., 1024) = 1024
read(3, " /usr/lib64/libgcc_s-"..., 1024) = 1024
close(3) = 0
sched_getaffinity(114695, 32, [0 1 2 3 4 5 6 7]) = 8
getrandom("\x21\x1e\x1e\xca\xf2\x5c\xad\x59\xdf\xa2\x1c\x17\x7b\x7b\xff\xf4", 16, GRND_INSECURE) = 16
write(1, "registered platform APIs\n", 25registered platform APIs
) = 25
write(1, "calcit version: 0.8.51-a5\n", 26calcit version: 0.8.51-a5
) = 26
brk(0x562cbeeee000) = 0x562cbeeee000
mmap(NULL, 221184, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7c04ed6000
mremap(0x7f7c04ed6000, 221184, 442368, MREMAP_MAYMOVE) = 0x7f7c04e6a000
brk(0x562cbef0f000) = 0x562cbef0f000
brk(0x562cbef3c000) = 0x562cbef3c000
brk(0x562cbef5d000) = 0x562cbef5d000
mmap(NULL, 397312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7c04e09000
munmap(0x7f7c04e6a000, 442368) = 0
brk(0x562cbef7e000) = 0x562cbef7e000
brk(0x562cbef9f000) = 0x562cbef9f000
brk(0x562cbefc0000) = 0x562cbefc0000
brk(0x562cbefe1000) = 0x562cbefe1000
brk(0x562cbf002000) = 0x562cbf002000
brk(0x562cbf023000) = 0x562cbf023000
brk(0x562cbf044000) = 0x562cbf044000
brk(0x562cbf065000) = 0x562cbf065000
munmap(0x7f7c04e09000, 397312) = 0
brk(0x562cbf086000) = 0x562cbf086000
brk(0x562cbf0a7000) = 0x562cbf0a7000
brk(0x562cbf0c8000) = 0x562cbf0c8000
brk(0x562cbf0e9000) = 0x562cbf0e9000
write(1, "module folder: /home/chen/.confi"..., 50module folder: /home/chen/.config/calcit/modules/
) = 50
statx(AT_FDCWD, "compact.cirru", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=4971, ...}) = 0
openat(AT_FDCWD, "compact.cirru", O_RDONLY|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=4971, ...}) = 0
read(3, "\n{} (:package |regex)\n :configs"..., 4971) = 4971
read(3, "", 32) = 0
close(3) = 0
brk(0x562cbf10a000) = 0x562cbf10a000
brk(0x562cbf12b000) = 0x562cbf12b000
brk(0x562cbf14c000) = 0x562cbf14c000
brk(0x562cbf16d000) = 0x562cbf16d000
brk(0x562cbf18e000) = 0x562cbf18e000
brk(0x562cbf1af000) = 0x562cbf1af000
brk(0x562cbf1d0000) = 0x562cbf1d0000
write(1, "%%%% test for regex\n", 20%%%% test for regex
) = 20
write(1, "Test regular expression\n", 24Test regular expression
) = 24
openat(AT_FDCWD, "./dylibs/libcalcit_regex.so", O_RDONLY|O_CLOEXEC) = 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\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4803120, ...}) = 0
getcwd("/home/chen/repo/calcit/regex", 128) = 29
mmap(NULL, 3691040, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f7c04a00000
mmap(0x7f7c04a9e000, 1953792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7f7c04a9e000
mmap(0x7f7c04c7b000, 806912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27b000) = 0x7f7c04c7b000
mmap(0x7f7c04d40000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x340000) = 0x7f7c04d40000
close(3) = 0
mprotect(0x7f7c04d40000, 282624, PROT_READ) = 0
brk(0x562cbf234000) = 0x562cbf234000
getrandom("\xbd\x22\xab\xac\x4f\xdb\xdf\xef\xb3\xd0\x90\x5f\x7a\xb3\xea\x8b", 16, GRND_INSECURE) = 16
brk(0x562cbf282000) = 0x562cbf282000
write(1, "%%% test variable holding regex\n", 32%%% test variable holding regex
) = 32
write(1, "memory of regex patterns are set"..., 42memory of regex patterns are set to hold!
) = 42
write(1, "Pattern is: (&any-ref ...)\n", 27Pattern is: (&any-ref ...)
) = 27
write(1, "patterns size 2\n", 16patterns size 2
) = 16
write(1, "\n", 1
) = 1
write(1, " pp 0x562cbf198778 0x562cbf1c7d1"..., 34 pp 0x562cbf198778 0x562cbf1c7d18
) = 34
write(1, "re-drop found true at 0\n\n", 25re-drop found true at 0
) = 25
write(1, "(re-drop p2) => true\n", 21(re-drop p2) => true
) = 21
write(1, "patterns size 1\n", 16patterns size 1
) = 16
write(1, "\n", 1
) = 1
write(1, " pp 0x562cbf1c7d18 0x562cbf19877"..., 34 pp 0x562cbf1c7d18 0x562cbf198778
) = 34
write(1, "re-drop found true at 0\n\n", 25re-drop found true at 0
) = 25
write(1, "(re-drop pattern) => true\n", 26(re-drop pattern) => true
) = 26
write(1, "took 3.241ms: true\n", 19took 3.241ms: true
) = 19
sigaltstack({ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=8192}, NULL) = 0
munmap(0x7f7c0521e000, 12288) = 0
exit_group(0) = ?
+++ exited with 0 +++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment