├── bpf ├── .gitignore └── events-struct.h ├── tests ├── .gitignore ├── test_sys_open │ ├── .gitignore │ ├── test_sys_open.script │ ├── expect.log │ └── test_sys_open.c ├── test_sys_read │ ├── .gitignore │ ├── expect.log │ ├── test_sys_read.script │ └── test_sys_read.c ├── test_sys_chmod │ ├── .gitignore │ ├── test_sys_chmod.script │ └── expect.log ├── test_sys_chown │ ├── .gitignore │ ├── test_sys_chown.script │ └── expect.log ├── test_sys_close │ ├── .gitignore │ ├── expect.log │ ├── test_sys_close.script │ └── test_sys_close.c ├── test_sys_fchmod │ ├── .gitignore │ ├── expect.log │ └── test_sys_fchmod.script ├── test_sys_fchown │ ├── .gitignore │ ├── expect.log │ └── test_sys_fchown.script ├── test_sys_mkdir │ ├── .gitignore │ ├── test_sys_mkdir.script │ └── expect.log ├── test_sys_write │ ├── .gitignore │ ├── expect.log │ ├── test_sys_write.script │ └── test_sys_write.c ├── test_sys_fchmodat │ ├── .gitignore │ ├── test_sys_fchmodat.script │ └── expect.log ├── test_sys_fchownat │ ├── .gitignore │ ├── test_sys_fchownat.script │ └── expect.log ├── test_sys_mkdirat │ ├── .gitignore │ ├── test_sys_mkdirat.script │ └── expect.log ├── test_sys_read_filename │ ├── .gitignore │ ├── expect.log │ └── test_sys_read_filename.script ├── test_tcp_v4_close │ ├── test_tcp_v4_close.script │ ├── expect.log │ └── test_tcp_v4_close ├── test_tcp_v6_close │ ├── test_tcp_v6_close.script │ ├── expect.log │ └── test_tcp_v6_close ├── test_tcp_v6_accept │ ├── expect.log │ ├── test_tcp_v6_accept.script │ └── test_tcp_v6_accept ├── test_tcp_v6_connect │ ├── expect.log │ ├── test_tcp_v6_connect │ └── test_tcp_v6_connect.script ├── test_tcp_v4_accept │ ├── expect.log │ ├── test_tcp_v4_accept.script │ └── test_tcp_v4_accept ├── test_tcp_v4_connect │ ├── expect.log │ ├── test_tcp_v4_connect │ └── test_tcp_v4_connect.script ├── Makefile ├── stampwait.sh └── stampwait.h ├── .gitignore ├── metrics └── echoserver │ ├── .gitignore │ └── README.md ├── vendor ├── github.com │ ├── gizak │ │ └── termui │ │ │ ├── _docs │ │ │ ├── about.md │ │ │ ├── themes.md │ │ │ ├── versions.md │ │ │ ├── recipes.md │ │ │ ├── img │ │ │ │ ├── demo1.png │ │ │ │ └── dashboard.gif │ │ │ ├── events.md │ │ │ └── components.md │ │ │ ├── .travis.yml │ │ │ ├── _example │ │ │ ├── par.png │ │ │ ├── gauge.png │ │ │ ├── grid.gif │ │ │ ├── list.png │ │ │ ├── table.png │ │ │ ├── barchart.png │ │ │ ├── dashboard.gif │ │ │ ├── linechart.png │ │ │ ├── mbarchart.png │ │ │ ├── sparklines.png │ │ │ ├── themedefault.png │ │ │ └── themehelloworld.png │ │ │ ├── linechart_others.go │ │ │ ├── linechart_windows.go │ │ │ ├── Gopkg.toml │ │ │ ├── .gitignore │ │ │ ├── block_common.go │ │ │ └── block_windows.go │ ├── spf13 │ │ ├── pflag │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── verify │ │ │ │ ├── golint.sh │ │ │ │ └── gofmt.sh │ │ ├── afero │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── appveyor.yml │ │ ├── jwalterweatherman │ │ │ ├── go.mod │ │ │ └── .gitignore │ │ ├── cobra │ │ │ ├── command_notwin.go │ │ │ ├── .mailmap │ │ │ ├── command_win.go │ │ │ ├── cobra │ │ │ │ └── cmd │ │ │ │ │ └── project_test.go │ │ │ └── .travis.yml │ │ ├── cast │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ │ └── viper │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── go.mod │ ├── hashicorp │ │ ├── hcl │ │ │ ├── hcl │ │ │ │ ├── test-fixtures │ │ │ │ │ ├── empty.hcl │ │ │ │ │ ├── comment_single.hcl │ │ │ │ │ ├── list.hcl │ │ │ │ │ ├── complex_key.hcl │ │ │ │ │ ├── list_comma.hcl │ │ │ │ │ ├── multiple.hcl │ │ │ │ │ ├── structure_empty.hcl │ │ │ │ │ ├── old.hcl │ │ │ │ │ ├── array_comment.hcl │ │ │ │ │ ├── structure_basic.hcl │ │ │ │ │ ├── assign_colon.hcl │ │ │ │ │ ├── structure.hcl │ │ │ │ │ ├── types.hcl │ │ │ │ │ └── comment.hcl │ │ │ │ ├── fmtcmd │ │ │ │ │ └── test-fixtures │ │ │ │ │ │ ├── dir.ignore │ │ │ │ │ │ ├── good.hcl │ │ │ │ │ │ ├── .hidden.ignore │ │ │ │ │ │ └── file.ignore │ │ │ │ ├── parser │ │ │ │ │ ├── test-fixtures │ │ │ │ │ │ ├── empty.hcl │ │ │ │ │ │ ├── comment_lastline.hcl │ │ │ │ │ │ ├── comment_single.hcl │ │ │ │ │ │ ├── git_crypt.hcl │ │ │ │ │ │ ├── key_without_value.hcl │ │ │ │ │ │ ├── complex_key.hcl │ │ │ │ │ │ ├── list.hcl │ │ │ │ │ │ ├── list_comma.hcl │ │ │ │ │ │ ├── multiple.hcl │ │ │ │ │ │ ├── object_list_comma.hcl │ │ │ │ │ │ ├── structure_empty.hcl │ │ │ │ │ │ ├── object_key_without_value.hcl │ │ │ │ │ │ ├── unterminated_object.hcl │ │ │ │ │ │ ├── object_key_assign_without_value.hcl │ │ │ │ │ │ ├── old.hcl │ │ │ │ │ │ ├── array_comment.hcl │ │ │ │ │ │ ├── object_key_assign_without_value2.hcl │ │ │ │ │ │ ├── object_key_assign_without_value3.hcl │ │ │ │ │ │ ├── assign_deep.hcl │ │ │ │ │ │ ├── structure_basic.hcl │ │ │ │ │ │ ├── assign_colon.hcl │ │ │ │ │ │ ├── structure.hcl │ │ │ │ │ │ ├── types.hcl │ │ │ │ │ │ ├── missing_braces.hcl │ │ │ │ │ │ ├── comment.hcl │ │ │ │ │ │ ├── unterminated_object_2.hcl │ │ │ │ │ │ ├── comment_crlf.hcl │ │ │ │ │ │ └── array_comment_2.hcl │ │ │ │ │ ├── error_test.go │ │ │ │ │ └── error.go │ │ │ │ └── printer │ │ │ │ │ └── testdata │ │ │ │ │ ├── comment_newline.input │ │ │ │ │ ├── comment_newline.golden │ │ │ │ │ ├── comment_end_file.input │ │ │ │ │ ├── comment_end_file.golden │ │ │ │ │ ├── object_with_heredoc.golden │ │ │ │ │ ├── object_with_heredoc.input │ │ │ │ │ ├── list_comment.input │ │ │ │ │ ├── comment_multiline_no_stanza.input │ │ │ │ │ ├── comment_multiline_no_stanza.golden │ │ │ │ │ ├── list_comment.golden │ │ │ │ │ ├── multiline_string.golden │ │ │ │ │ ├── multiline_string.input │ │ │ │ │ ├── list_of_objects.golden │ │ │ │ │ ├── list_of_objects.input │ │ │ │ │ ├── empty_block.golden │ │ │ │ │ ├── comment_object_multi.golden │ │ │ │ │ ├── comment_object_multi.input │ │ │ │ │ ├── empty_block.input │ │ │ │ │ ├── comment_array.input │ │ │ │ │ ├── comment_array.golden │ │ │ │ │ ├── comment_multiline_indent.golden │ │ │ │ │ ├── comment_multiline_indent.input │ │ │ │ │ ├── comment_multiline_stanza.golden │ │ │ │ │ ├── comment_multiline_stanza.input │ │ │ │ │ ├── comment_standalone.input │ │ │ │ │ ├── comment_standalone.golden │ │ │ │ │ ├── object_singleline.input │ │ │ │ │ ├── object_singleline.golden │ │ │ │ │ ├── list.input │ │ │ │ │ └── list.golden │ │ │ ├── test-fixtures │ │ │ │ ├── git_crypt.hcl │ │ │ │ ├── empty.hcl │ │ │ │ ├── float.hcl │ │ │ │ ├── basic_int_string.hcl │ │ │ │ ├── multiline_no_marker.hcl │ │ │ │ ├── flat.hcl │ │ │ │ ├── unterminated_block_comment.hcl │ │ │ │ ├── block_assign.hcl │ │ │ │ ├── float.json │ │ │ │ ├── list_of_lists.hcl │ │ │ │ ├── multiline.json │ │ │ │ ├── structure_list_empty.json │ │ │ │ ├── multiline.hcl │ │ │ │ ├── multiline_bad.hcl │ │ │ │ ├── multiline_literal.hcl │ │ │ │ ├── unterminated_brace.hcl │ │ │ │ ├── basic.hcl │ │ │ │ ├── assign_deep.hcl │ │ │ │ ├── multiline_literal_with_hil.hcl │ │ │ │ ├── multiline_no_eof.hcl │ │ │ │ ├── nested_block_comment.hcl │ │ │ │ ├── basic_squish.hcl │ │ │ │ ├── multiline_indented.hcl │ │ │ │ ├── structure_list.hcl │ │ │ │ ├── basic.json │ │ │ │ ├── interpolate.json │ │ │ │ ├── structure_flatmap.hcl │ │ │ │ ├── structure_multi.hcl │ │ │ │ ├── tfvars.hcl │ │ │ │ ├── multiline_no_hanging_indent.hcl │ │ │ │ ├── scientific.hcl │ │ │ │ ├── terraform_heroku.hcl │ │ │ │ ├── terraform_variable_invalid.json │ │ │ │ ├── null_strings.json │ │ │ │ ├── structure.hcl │ │ │ │ ├── object_with_bool.hcl │ │ │ │ ├── structure_list.json │ │ │ │ ├── nested_provider_bad.hcl │ │ │ │ ├── structure.json │ │ │ │ ├── structure_flat.json │ │ │ │ ├── list_of_maps.hcl │ │ │ │ ├── slice_expand.hcl │ │ │ │ ├── terraform_heroku.json │ │ │ │ ├── scientific.json │ │ │ │ ├── structure_multi.json │ │ │ │ ├── structure2.json │ │ │ │ ├── structure2.hcl │ │ │ │ ├── escape.hcl │ │ │ │ ├── decode_tf_variable.hcl │ │ │ │ ├── escape_backslash.hcl │ │ │ │ ├── decode_policy.hcl │ │ │ │ ├── decode_tf_variable.json │ │ │ │ ├── decode_policy.json │ │ │ │ ├── structure_list_deep.json │ │ │ │ └── object_list.json │ │ │ ├── json │ │ │ │ ├── parser │ │ │ │ │ └── test-fixtures │ │ │ │ │ │ ├── bad_input_128.json │ │ │ │ │ │ ├── basic.json │ │ │ │ │ │ ├── object.json │ │ │ │ │ │ ├── array.json │ │ │ │ │ │ ├── bad_input_tf_8110.json │ │ │ │ │ │ ├── good_input_tf_8110.json │ │ │ │ │ │ └── types.json │ │ │ │ └── test-fixtures │ │ │ │ │ ├── basic.json │ │ │ │ │ ├── array.json │ │ │ │ │ ├── object.json │ │ │ │ │ └── types.json │ │ │ ├── go.mod │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── go.sum │ │ │ ├── testhelper │ │ │ │ └── unix2dos.go │ │ │ ├── Makefile │ │ │ ├── appveyor.yml │ │ │ ├── hcl_test.go │ │ │ ├── .github │ │ │ │ └── ISSUE_TEMPLATE.md │ │ │ ├── hcl.go │ │ │ └── lex_test.go │ │ └── golang-lru │ │ │ ├── go.mod │ │ │ ├── .gitignore │ │ │ └── README.md │ ├── iovisor │ │ └── gobpf │ │ │ ├── examples │ │ │ ├── bcc │ │ │ │ └── perf │ │ │ │ │ └── .gitignore │ │ │ └── tracepipe │ │ │ │ └── .gitignore │ │ │ ├── tests │ │ │ ├── dummy.o │ │ │ ├── dummy-410.o │ │ │ ├── dummy-46.o │ │ │ ├── dummy-48.o │ │ │ └── build │ │ │ ├── elf │ │ │ ├── utsname_int8.go │ │ │ ├── utsname_uint8.go │ │ │ ├── include │ │ │ │ └── bpf_map.h │ │ │ └── perf_unsupported.go │ │ │ └── pkg │ │ │ └── ksym │ │ │ └── ksym_test.go │ ├── mitchellh │ │ ├── go-wordwrap │ │ │ └── go.mod │ │ └── mapstructure │ │ │ ├── go.mod │ │ │ └── .travis.yml │ ├── pelletier │ │ └── go-toml │ │ │ ├── .gitignore │ │ │ ├── fuzz.sh │ │ │ ├── position_test.go │ │ │ └── fuzz.go │ ├── fsnotify │ │ └── fsnotify │ │ │ ├── .editorconfig │ │ │ ├── .github │ │ │ ├── PULL_REQUEST_TEMPLATE.md │ │ │ └── ISSUE_TEMPLATE.md │ │ │ ├── .gitignore │ │ │ ├── open_mode_bsd.go │ │ │ ├── open_mode_darwin.go │ │ │ └── .travis.yml │ ├── peterh │ │ └── liner │ │ │ ├── go.mod │ │ │ ├── go.sum │ │ │ ├── .github │ │ │ └── ISSUE_TEMPLATE.md │ │ │ └── input_linux.go │ ├── golang │ │ └── protobuf │ │ │ ├── conformance │ │ │ └── conformance.sh │ │ │ ├── .github │ │ │ └── ISSUE_TEMPLATE │ │ │ │ └── question.md │ │ │ ├── AUTHORS │ │ │ ├── CONTRIBUTORS │ │ │ └── .gitignore │ ├── magiconair │ │ └── properties │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ ├── nsf │ │ └── termbox-go │ │ │ ├── AUTHORS │ │ │ ├── escwait_darwin.go │ │ │ └── escwait.go │ ├── mattn │ │ └── go-runewidth │ │ │ ├── runewidth_js.go │ │ │ ├── .travis.yml │ │ │ └── runewidth_windows.go │ ├── maruel │ │ └── panicparse │ │ │ ├── internal │ │ │ ├── goversion1.6.go │ │ │ └── goversion1.go │ │ │ ├── .travis.yml │ │ │ ├── Gopkg.toml │ │ │ └── cmd │ │ │ └── panic │ │ │ ├── internal │ │ │ └── internal.go │ │ │ └── main_no_race.go │ └── inconshreveable │ │ └── mousetrap │ │ ├── trap_others.go │ │ └── LICENSE ├── google.golang.org │ ├── grpc │ │ ├── AUTHORS │ │ ├── install_gae.sh │ │ ├── .github │ │ │ └── ISSUE_TEMPLATE │ │ └── reflection │ │ │ └── README.md │ └── genproto │ │ ├── .github │ │ └── CODEOWNERS │ │ └── .travis.yml ├── golang.org │ └── x │ │ ├── net │ │ ├── codereview.cfg │ │ ├── http2 │ │ │ ├── .gitignore │ │ │ ├── h2demo │ │ │ │ ├── rootCA.srl │ │ │ │ ├── .gitignore │ │ │ │ ├── Dockerfile │ │ │ │ ├── service.yaml │ │ │ │ └── README │ │ │ ├── Makefile │ │ │ ├── not_go19.go │ │ │ ├── go16.go │ │ │ ├── go19.go │ │ │ ├── not_go16.go │ │ │ └── not_go111.go │ │ ├── .gitignore │ │ ├── html │ │ │ ├── charset │ │ │ │ └── testdata │ │ │ │ │ ├── UTF-16BE-BOM.html │ │ │ │ │ ├── UTF-16LE-BOM.html │ │ │ │ │ └── README │ │ │ └── testdata │ │ │ │ ├── webkit │ │ │ │ ├── pending-spec-changes-plain-text-unsafe.dat │ │ │ │ ├── scripted │ │ │ │ │ └── adoption01.dat │ │ │ │ └── adoption02.dat │ │ │ │ └── go │ │ │ │ └── template.dat │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── internal │ │ │ ├── socket │ │ │ │ ├── sys_darwin.go │ │ │ │ ├── sys_dragonfly.go │ │ │ │ ├── sys_linux_amd64.go │ │ │ │ ├── sys_linux_arm.go │ │ │ │ ├── sys_linux_arm64.go │ │ │ │ ├── sys_linux_mips.go │ │ │ │ ├── sys_linux_ppc64.go │ │ │ │ ├── sys_linux_mips64.go │ │ │ │ ├── sys_linux_mips64le.go │ │ │ │ ├── sys_linux_mipsle.go │ │ │ │ ├── sys_linux_ppc64le.go │ │ │ │ ├── iovec_stub.go │ │ │ │ ├── msghdr_openbsd.go │ │ │ │ ├── sys_linux_386.s │ │ │ │ ├── sys_bsdvar.go │ │ │ │ ├── sys_linux_s390x.s │ │ │ │ ├── sys_solaris_amd64.s │ │ │ │ ├── cmsghdr_bsd.go │ │ │ │ ├── cmsghdr_solaris_64bit.go │ │ │ │ ├── cmsghdr_linux_32bit.go │ │ │ │ ├── msghdr_bsdvar.go │ │ │ │ ├── cmsghdr_linux_64bit.go │ │ │ │ ├── cmsghdr.go │ │ │ │ ├── iovec_solaris_64bit.go │ │ │ │ ├── iovec_32bit.go │ │ │ │ ├── iovec_64bit.go │ │ │ │ ├── rawconn_nommsg.go │ │ │ │ ├── sys_bsd.go │ │ │ │ ├── cmsghdr_stub.go │ │ │ │ ├── rawconn_nomsg.go │ │ │ │ └── msghdr_linux_32bit.go │ │ │ └── nettest │ │ │ │ ├── helper_nobsd.go │ │ │ │ └── rlimit.go │ │ ├── lif │ │ │ ├── sys_solaris_amd64.s │ │ │ └── sys.go │ │ ├── icmp │ │ │ └── sys_freebsd.go │ │ ├── bpf │ │ │ ├── setter.go │ │ │ └── testdata │ │ │ │ └── all_instructions.bpf │ │ ├── http │ │ │ └── httpproxy │ │ │ │ ├── go19_test.go │ │ │ │ └── export_test.go │ │ ├── webdav │ │ │ ├── file_go1.7.go │ │ │ ├── file_go1.6.go │ │ │ └── internal │ │ │ │ └── xml │ │ │ │ └── README │ │ ├── ipv4 │ │ │ ├── sys_stub.go │ │ │ ├── sys_bpf_stub.go │ │ │ ├── control_windows.go │ │ │ ├── control_stub.go │ │ │ ├── icmp_stub.go │ │ │ ├── control_test.go │ │ │ ├── sys_asmreqn_stub.go │ │ │ └── sys_ssmreq_stub.go │ │ ├── ipv6 │ │ │ ├── sys_stub.go │ │ │ ├── sys_bpf_stub.go │ │ │ ├── control_windows.go │ │ │ ├── control_stub.go │ │ │ ├── sys_asmreq_stub.go │ │ │ ├── control_test.go │ │ │ ├── icmp_stub.go │ │ │ └── sys_ssmreq_stub.go │ │ ├── .gitattributes │ │ └── proxy │ │ │ └── direct.go │ │ ├── sys │ │ ├── codereview.cfg │ │ ├── unix │ │ │ ├── .gitignore │ │ │ ├── endian_big.go │ │ │ ├── export_test.go │ │ │ ├── endian_little.go │ │ │ ├── constants.go │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ ├── aliases.go │ │ │ ├── pagesize_unix.go │ │ │ ├── fcntl_linux_32bit.go │ │ │ ├── asm_solaris_amd64.s │ │ │ ├── gccgo_linux_amd64.go │ │ │ ├── syscall_linux_gc.go │ │ │ └── syscall_darwin_test.go │ │ ├── .gitignore │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── cpu │ │ │ ├── cpu_arm.go │ │ │ ├── cpu_arm64.go │ │ │ ├── cpu_s390x.go │ │ │ ├── cpu_mipsx.go │ │ │ ├── cpu_mips64x.go │ │ │ ├── cpu_ppc64x.go │ │ │ └── cpu_gc_x86.go │ │ ├── plan9 │ │ │ ├── asm.s │ │ │ ├── pwd_go15_plan9.go │ │ │ ├── pwd_plan9.go │ │ │ ├── race0.go │ │ │ ├── mksysnum_plan9.sh │ │ │ └── str.go │ │ ├── windows │ │ │ ├── svc │ │ │ │ ├── go12.go │ │ │ │ ├── example │ │ │ │ │ └── beep.go │ │ │ │ └── go12.c │ │ │ ├── registry │ │ │ │ ├── mksyscall.go │ │ │ │ └── export_test.go │ │ │ ├── mksyscall.go │ │ │ ├── aliases.go │ │ │ ├── asm_windows_386.s │ │ │ ├── asm_windows_amd64.s │ │ │ ├── race0.go │ │ │ ├── types_windows_386.go │ │ │ ├── types_windows_amd64.go │ │ │ └── str.go │ │ └── .gitattributes │ │ ├── crypto │ │ ├── codereview.cfg │ │ ├── .gitignore │ │ ├── ed25519 │ │ │ └── testdata │ │ │ │ └── sign.input.gz │ │ ├── sha3 │ │ │ ├── testdata │ │ │ │ └── keccakKats.json.deflate │ │ │ ├── keccakf_amd64.go │ │ │ ├── xor.go │ │ │ ├── register.go │ │ │ └── shake_generic.go │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── ssh │ │ │ ├── test │ │ │ │ └── doc.go │ │ │ ├── terminal │ │ │ │ ├── util_linux.go │ │ │ │ └── util_bsd.go │ │ │ ├── testdata │ │ │ │ └── doc.go │ │ │ └── tcpip_test.go │ │ ├── curve25519 │ │ │ └── const_amd64.h │ │ ├── blake2b │ │ │ └── blake2b_ref.go │ │ ├── .gitattributes │ │ ├── internal │ │ │ └── chacha20 │ │ │ │ └── chacha_noasm.go │ │ ├── argon2 │ │ │ └── blamka_ref.go │ │ ├── blake2s │ │ │ ├── register.go │ │ │ └── blake2s_ref.go │ │ ├── md4 │ │ │ └── example_test.go │ │ └── poly1305 │ │ │ └── sum_noasm.go │ │ └── text │ │ ├── codereview.cfg │ │ ├── encoding │ │ ├── testdata │ │ │ ├── candide-gb18030.txt │ │ │ ├── rashomon-euc-jp.txt │ │ │ ├── candide-utf-16le.txt │ │ │ ├── candide-utf-32be.txt │ │ │ ├── rashomon-shift-jis.txt │ │ │ ├── candide-windows-1252.txt │ │ │ ├── unsu-joh-eun-nal-euc-kr.txt │ │ │ ├── sunzi-bingfa-simplified-gbk.txt │ │ │ └── sunzi-bingfa-traditional-big5.txt │ │ ├── japanese │ │ │ └── all.go │ │ └── simplifiedchinese │ │ │ └── all.go │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── .gitignore │ │ ├── internal │ │ ├── export │ │ │ └── README │ │ ├── testtext │ │ │ ├── gc.go │ │ │ ├── gccgo.go │ │ │ └── go1_7.go │ │ └── number │ │ │ └── roundingmode_string.go │ │ ├── collate │ │ └── tools │ │ │ └── colcmp │ │ │ └── Makefile │ │ ├── language │ │ ├── go1_2.go │ │ ├── common.go │ │ ├── Makefile │ │ └── gen_common.go │ │ ├── secure │ │ ├── doc.go │ │ └── bidirule │ │ │ ├── bidirule10.0.0.go │ │ │ └── bidirule9.0.0.go │ │ ├── .gitattributes │ │ ├── unicode │ │ ├── doc.go │ │ └── cldr │ │ │ └── examples_test.go │ │ ├── cmd │ │ └── gotext │ │ │ └── examples │ │ │ ├── extract_http │ │ │ └── main.go │ │ │ └── rewrite │ │ │ └── printer.go │ │ ├── width │ │ └── kind_string.go │ │ ├── message │ │ └── catalog │ │ │ └── go19.go │ │ └── doc.go └── gopkg.in │ └── yaml.v2 │ ├── go.mod │ ├── .travis.yml │ ├── suite_test.go │ └── NOTICE ├── battery ├── .gitignore └── Makefile ├── traceleft-block.png ├── probe └── errors.go ├── documentation ├── build-steps.png └── traceleft-architecture.png ├── cli ├── main.go └── traceleft-handlers │ └── main.go └── generator └── config.proto /bpf/.gitignore: -------------------------------------------------------------------------------- 1 | out/ 2 | -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- 1 | cli 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | bin/ 3 | -------------------------------------------------------------------------------- /metrics/echoserver/.gitignore: -------------------------------------------------------------------------------- 1 | echoserver 2 | -------------------------------------------------------------------------------- /tests/test_sys_open/.gitignore: -------------------------------------------------------------------------------- 1 | test_sys_open 2 | -------------------------------------------------------------------------------- /tests/test_sys_read/.gitignore: -------------------------------------------------------------------------------- 1 | test_sys_read 2 | -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_docs/about.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_docs/themes.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_docs/versions.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_sys_chmod/.gitignore: -------------------------------------------------------------------------------- 1 | test_sys_chmod 2 | -------------------------------------------------------------------------------- /tests/test_sys_chown/.gitignore: -------------------------------------------------------------------------------- 1 | test_sys_chown 2 | -------------------------------------------------------------------------------- /tests/test_sys_close/.gitignore: -------------------------------------------------------------------------------- 1 | test_sys_close 2 | -------------------------------------------------------------------------------- /tests/test_sys_fchmod/.gitignore: -------------------------------------------------------------------------------- 1 | test_sys_fchmod 2 | -------------------------------------------------------------------------------- /tests/test_sys_fchown/.gitignore: -------------------------------------------------------------------------------- 1 | test_sys_fchown 2 | -------------------------------------------------------------------------------- /tests/test_sys_mkdir/.gitignore: -------------------------------------------------------------------------------- 1 | test_sys_mkdir 2 | -------------------------------------------------------------------------------- /tests/test_sys_write/.gitignore: -------------------------------------------------------------------------------- 1 | test_sys_write 2 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/AUTHORS: -------------------------------------------------------------------------------- 1 | Google Inc. 2 | -------------------------------------------------------------------------------- /battery/.gitignore: -------------------------------------------------------------------------------- 1 | out/ 2 | 3 | handle_syscall_*.c 4 | -------------------------------------------------------------------------------- /tests/test_sys_fchmodat/.gitignore: -------------------------------------------------------------------------------- 1 | test_sys_fchmodat 2 | -------------------------------------------------------------------------------- /tests/test_sys_fchownat/.gitignore: -------------------------------------------------------------------------------- 1 | test_sys_fchownat 2 | -------------------------------------------------------------------------------- /tests/test_sys_mkdirat/.gitignore: -------------------------------------------------------------------------------- 1 | test_sys_mkdirat 2 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/empty.hcl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | unix.test 3 | -------------------------------------------------------------------------------- /tests/test_sys_read_filename/.gitignore: -------------------------------------------------------------------------------- 1 | test_sys_read_filename 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/dir.ignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/good.hcl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/empty.hcl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/h2demo/rootCA.srl: -------------------------------------------------------------------------------- 1 | E2CE26BF3285059C 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/git_crypt.hcl: -------------------------------------------------------------------------------- 1 | GITCRYPT 2 | -------------------------------------------------------------------------------- /vendor/github.com/iovisor/gobpf/examples/bcc/perf/.gitignore: -------------------------------------------------------------------------------- 1 | perf 2 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/afero 2 | -------------------------------------------------------------------------------- /vendor/google.golang.org/genproto/.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @pongad @jba 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/empty.hcl: -------------------------------------------------------------------------------- 1 | resource "foo" {} 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/float.hcl: -------------------------------------------------------------------------------- 1 | a = 1.02 2 | b = 2 3 | -------------------------------------------------------------------------------- /vendor/github.com/iovisor/gobpf/examples/tracepipe/.gitignore: -------------------------------------------------------------------------------- 1 | tracepipe 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/.hidden.ignore: -------------------------------------------------------------------------------- 1 | invalid 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/file.ignore: -------------------------------------------------------------------------------- 1 | invalid 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/comment_lastline.hcl: -------------------------------------------------------------------------------- 1 | #foo -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/comment_single.hcl: -------------------------------------------------------------------------------- 1 | # Hello 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/list.hcl: -------------------------------------------------------------------------------- 1 | foo = [1, 2, "foo"] 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/basic_int_string.hcl: -------------------------------------------------------------------------------- 1 | count = "3" 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/multiline_no_marker.hcl: -------------------------------------------------------------------------------- 1 | foo = << 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/golang-lru/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/golang-lru 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/comment_single.hcl: -------------------------------------------------------------------------------- 1 | # Hello 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/git_crypt.hcl: -------------------------------------------------------------------------------- 1 | GITCRYPT 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/key_without_value.hcl: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/complex_key.hcl: -------------------------------------------------------------------------------- 1 | foo.bar = "baz" 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/parser/test-fixtures/bad_input_128.json: -------------------------------------------------------------------------------- 1 | {:{ 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/flat.hcl: -------------------------------------------------------------------------------- 1 | foo = "bar" 2 | Key = 7 3 | -------------------------------------------------------------------------------- /tests/test_sys_close/expect.log: -------------------------------------------------------------------------------- 1 | event close pid %PID% return value 0 Fd %FD% 2 | -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_docs/recipes.md: -------------------------------------------------------------------------------- 1 | _Sorry, it is still Work in Progress..._ 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/complex_key.hcl: -------------------------------------------------------------------------------- 1 | foo.bar = "baz" 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/list.hcl: -------------------------------------------------------------------------------- 1 | foo = [1, 2, "foo"] 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/list_comma.hcl: -------------------------------------------------------------------------------- 1 | foo = [1, 2, "foo",] 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/multiple.hcl: -------------------------------------------------------------------------------- 1 | foo = "bar" 2 | key = 7 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/unterminated_block_comment.hcl: -------------------------------------------------------------------------------- 1 | /* 2 | Foo 3 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-wordwrap/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/go-wordwrap 2 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/mapstructure/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/mapstructure 2 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/.gitignore: -------------------------------------------------------------------------------- 1 | test_program/test_program_bin 2 | fuzz/ 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/list_comma.hcl: -------------------------------------------------------------------------------- 1 | foo = [1, 2, "foo",] 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_newline.input: -------------------------------------------------------------------------------- 1 | # Hello 2 | # World 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/structure_empty.hcl: -------------------------------------------------------------------------------- 1 | resource "foo" "bar" {} 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/test-fixtures/basic.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar" 3 | } 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/block_assign.hcl: -------------------------------------------------------------------------------- 1 | environment = "aws" { 2 | } 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/float.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": 1.02, 3 | "b": 2 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/list_of_lists.hcl: -------------------------------------------------------------------------------- 1 | foo = [["foo"], ["bar"]] 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/multiline.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar\nbaz" 3 | } 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/structure_list_empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": [] 3 | } 4 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/jwalterweatherman/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/jwalterweatherman 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /tests/test_sys_fchmod/expect.log: -------------------------------------------------------------------------------- 1 | event fchmod pid %PID% return value 0 Fd %FD% Mode 511 2 | -------------------------------------------------------------------------------- /tests/test_sys_read/expect.log: -------------------------------------------------------------------------------- 1 | event read pid %PID% return value 1 Fd 3 Buf "p" Count 1 2 | -------------------------------------------------------------------------------- /tests/test_sys_write/expect.log: -------------------------------------------------------------------------------- 1 | event write pid %PID% return value 1 Fd 3 Buf "4" Count 1 2 | -------------------------------------------------------------------------------- /traceleft-block.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/traceleft-block.png -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/multiple.hcl: -------------------------------------------------------------------------------- 1 | foo = "bar" 2 | key = 7 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/parser/test-fixtures/basic.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar" 3 | } 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/multiline.hcl: -------------------------------------------------------------------------------- 1 | foo = < User 0 Group 0 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/object_list_comma.hcl: -------------------------------------------------------------------------------- 1 | foo = {one = 1, two = 2} 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/structure_empty.hcl: -------------------------------------------------------------------------------- 1 | resource "foo" "bar" {} 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_newline.golden: -------------------------------------------------------------------------------- 1 | # Hello 2 | # World 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/multiline_literal.hcl: -------------------------------------------------------------------------------- 1 | multiline_literal = "hello 2 | world" -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/unterminated_brace.hcl: -------------------------------------------------------------------------------- 1 | foo "baz" { 2 | bar = "baz" 3 | -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - tip 5 | 6 | script: go test -v ./ -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/object_key_without_value.hcl: -------------------------------------------------------------------------------- 1 | foo { 2 | bar 3 | } 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/basic.hcl: -------------------------------------------------------------------------------- 1 | foo = "bar" 2 | bar = "${file("bing/bong.txt")}" 3 | -------------------------------------------------------------------------------- /probe/errors.go: -------------------------------------------------------------------------------- 1 | package probe 2 | 3 | import "errors" 4 | 5 | var ErrNotInCache = errors.New("not in the cache") 6 | -------------------------------------------------------------------------------- /tests/test_sys_open/test_sys_open.script: -------------------------------------------------------------------------------- 1 | trace 42 %PID% %BASEDIR%/battery/out/handle_syscall_open.bpf 2 | sleep 2 3 | -------------------------------------------------------------------------------- /tests/test_sys_read/test_sys_read.script: -------------------------------------------------------------------------------- 1 | trace 42 %PID% %BASEDIR%/battery/out/handle_syscall_read.bpf 2 | sleep 2 3 | -------------------------------------------------------------------------------- /tests/test_sys_read_filename/expect.log: -------------------------------------------------------------------------------- 1 | event read pid %PID% return value 1 Fd 3 Buf "p" Count 1 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/unterminated_object.hcl: -------------------------------------------------------------------------------- 1 | foo "baz" { 2 | bar = "baz" 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/old.hcl: -------------------------------------------------------------------------------- 1 | default = { 2 | "eu-west-1": "ami-b1cf19c6", 3 | } 4 | -------------------------------------------------------------------------------- /documentation/build-steps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/documentation/build-steps.png -------------------------------------------------------------------------------- /tests/test_sys_chmod/test_sys_chmod.script: -------------------------------------------------------------------------------- 1 | trace 42 %PID% %BASEDIR%/battery/out/handle_syscall_chmod.bpf 2 | sleep 2 3 | -------------------------------------------------------------------------------- /tests/test_sys_chown/test_sys_chown.script: -------------------------------------------------------------------------------- 1 | trace 42 %PID% %BASEDIR%/battery/out/handle_syscall_chown.bpf 2 | sleep 2 3 | -------------------------------------------------------------------------------- /tests/test_sys_close/test_sys_close.script: -------------------------------------------------------------------------------- 1 | trace 42 %PID% %BASEDIR%/battery/out/handle_syscall_close.bpf 2 | sleep 2 3 | -------------------------------------------------------------------------------- /tests/test_sys_fchmod/test_sys_fchmod.script: -------------------------------------------------------------------------------- 1 | trace 42 %PID% %BASEDIR%/battery/out/handle_syscall_fchmod.bpf 2 | sleep 2 3 | -------------------------------------------------------------------------------- /tests/test_sys_fchown/test_sys_fchown.script: -------------------------------------------------------------------------------- 1 | trace 42 %PID% %BASEDIR%/battery/out/handle_syscall_fchown.bpf 2 | sleep 2 3 | -------------------------------------------------------------------------------- /tests/test_sys_mkdir/test_sys_mkdir.script: -------------------------------------------------------------------------------- 1 | trace 42 %PID% %BASEDIR%/battery/out/handle_syscall_mkdir.bpf 2 | sleep 2 3 | -------------------------------------------------------------------------------- /tests/test_sys_write/test_sys_write.script: -------------------------------------------------------------------------------- 1 | trace 42 %PID% %BASEDIR%/battery/out/handle_syscall_write.bpf 2 | sleep 2 3 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | indent_size = 4 6 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/object_key_assign_without_value.hcl: -------------------------------------------------------------------------------- 1 | foo { 2 | bar = 3 | } 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/old.hcl: -------------------------------------------------------------------------------- 1 | default = { 2 | "eu-west-1": "ami-b1cf19c6", 3 | } 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/array_comment.hcl: -------------------------------------------------------------------------------- 1 | foo = [ 2 | "1", 3 | "2", # comment 4 | ] 5 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/test-fixtures/array.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": [1, 2, "bar"], 3 | "bar": "baz" 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/test-fixtures/object.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": { 3 | "bar": [1,2] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /tests/test_sys_mkdir/expect.log: -------------------------------------------------------------------------------- 1 | event mkdir pid %PID% return value 0 Pathname "/tmp/traceleft-trace-out/test_mkdir" Mode 493 2 | -------------------------------------------------------------------------------- /tests/test_sys_mkdirat/test_sys_mkdirat.script: -------------------------------------------------------------------------------- 1 | trace 42 %PID% %BASEDIR%/battery/out/handle_syscall_mkdirat.bpf 2 | sleep 2 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/hcl 2 | 3 | require github.com/davecgh/go-spew v1.1.1 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/array_comment.hcl: -------------------------------------------------------------------------------- 1 | foo = [ 2 | "1", 3 | "2", # comment 4 | ] 5 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/parser/test-fixtures/object.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": { 3 | "bar": [1,2] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/assign_deep.hcl: -------------------------------------------------------------------------------- 1 | resource = [{ 2 | foo = [{ 3 | bar = {} 4 | }] 5 | }] 6 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/multiline_literal_with_hil.hcl: -------------------------------------------------------------------------------- 1 | multiline_literal_with_hil = "${hello 2 | world}" -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/multiline_no_eof.hcl: -------------------------------------------------------------------------------- 1 | foo = < Pathname "/tmp/traceleft-trace-out/test_mkdirat" Mode 493 2 | -------------------------------------------------------------------------------- /tests/test_tcp_v4_close/expect.log: -------------------------------------------------------------------------------- 1 | event close_v4 pid %PID% return value 0 Saddr 127.0.0.1 Daddr 127.0.0.1 Sport 65529 Dport 65530 Netns %HOST_NETNS% 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/null_strings.json: -------------------------------------------------------------------------------- 1 | { 2 | "module": { 3 | "app": { 4 | "foo": null 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/iovisor/gobpf/tests/dummy.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/github.com/iovisor/gobpf/tests/dummy.o -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/h2demo/.gitignore: -------------------------------------------------------------------------------- 1 | h2demo 2 | h2demo.linux 3 | client-id.dat 4 | client-secret.dat 5 | token.dat 6 | ca-certificates.crt 7 | -------------------------------------------------------------------------------- /tests/test_sys_fchmodat/expect.log: -------------------------------------------------------------------------------- 1 | event fchmodat pid %PID% return value 0 Dfd 42 Filename "/tmp/traceleft-trace-out/test_sys_fchmodat" Mode 511 2 | -------------------------------------------------------------------------------- /tests/test_tcp_v4_accept/expect.log: -------------------------------------------------------------------------------- 1 | event accept_v4 pid %PID% return value 0 Saddr 127.0.0.1 Daddr 127.0.0.1 Sport 65530 Dport 65529 Netns %HOST_NETNS% 2 | -------------------------------------------------------------------------------- /tests/test_tcp_v4_connect/expect.log: -------------------------------------------------------------------------------- 1 | event connect_v4 pid %PID% return value 0 Saddr 127.0.0.1 Daddr 127.0.0.1 Sport 65529 Dport 65530 Netns %HOST_NETNS% 2 | -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_example/par.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/github.com/gizak/termui/_example/par.png -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/structure_basic.hcl: -------------------------------------------------------------------------------- 1 | foo { 2 | value = 7 3 | "value" = 8 4 | "complex::value" = 9 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/object_with_heredoc.golden: -------------------------------------------------------------------------------- 1 | obj { 2 | foo = [< 4 | nsf 5 | -------------------------------------------------------------------------------- /tests/test_tcp_v4_accept/test_tcp_v4_accept.script: -------------------------------------------------------------------------------- 1 | trace 42 %PID% %BASEDIR%/battery/out/handle_network_inet_csk_accept.bpf 2 | signal-fifo %FIFO% 3 | sleep 4 4 | -------------------------------------------------------------------------------- /tests/test_tcp_v6_accept/test_tcp_v6_accept.script: -------------------------------------------------------------------------------- 1 | trace 42 %PID% %BASEDIR%/battery/out/handle_network_inet_csk_accept.bpf 2 | signal-fifo %FIFO% 3 | sleep 8 4 | -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_docs/img/demo1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/github.com/gizak/termui/_docs/img/demo1.png -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_example/gauge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/github.com/gizak/termui/_example/gauge.png -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_example/grid.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/github.com/gizak/termui/_example/grid.gif -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_example/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/github.com/gizak/termui/_example/list.png -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_example/table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/github.com/gizak/termui/_example/table.png -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/.github/ISSUE_TEMPLATE/question.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Question 3 | about: Questions and troubleshooting 4 | 5 | --- 6 | 7 | 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/.gitignore: -------------------------------------------------------------------------------- 1 | y.output 2 | 3 | # ignore intellij files 4 | .idea 5 | *.iml 6 | *.ipr 7 | *.iws 8 | 9 | *.test 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/object_with_heredoc.input: -------------------------------------------------------------------------------- 1 | obj { 2 | foo = [< Filename "/tmp/traceleft-trace-out/test_sys_fchownat" User 0 Group 0 Flag 0 2 | -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_docs/img/dashboard.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/github.com/gizak/termui/_docs/img/dashboard.gif -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_example/dashboard.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/github.com/gizak/termui/_example/dashboard.gif -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_example/linechart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/github.com/gizak/termui/_example/linechart.png -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_example/mbarchart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/github.com/gizak/termui/_example/mbarchart.png -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_example/sparklines.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/github.com/gizak/termui/_example/sparklines.png -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/structure.hcl: -------------------------------------------------------------------------------- 1 | // This is a test structure for the lexer 2 | foo bar "baz" { 3 | key = 7 4 | foo = "bar" 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/list_of_maps.hcl: -------------------------------------------------------------------------------- 1 | foo = [ 2 | {somekey1 = "someval1"}, 3 | {somekey2 = "someval2", someextrakey = "someextraval"}, 4 | ] 5 | -------------------------------------------------------------------------------- /metrics/echoserver/README.md: -------------------------------------------------------------------------------- 1 | Use `setcap` to allow echoserver to bind to port 443 when using tls: 2 | 3 | ``` 4 | sudo setcap cap_net_bind_service=+ep ./echoserver 5 | ``` 6 | -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_example/themedefault.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/github.com/gizak/termui/_example/themedefault.png -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/types.hcl: -------------------------------------------------------------------------------- 1 | foo = "bar" 2 | bar = 7 3 | baz = [1,2,3] 4 | foo = -12 5 | bar = 3.14159 6 | foo = true 7 | bar = false 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/slice_expand.hcl: -------------------------------------------------------------------------------- 1 | service "my-service-0" { 2 | key = "value" 3 | } 4 | 5 | service "my-service-1" { 6 | key = "value" 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/terraform_heroku.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "terraform-test-app", 3 | "config_vars": { 4 | "FOO": "bar" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ed25519/testdata/sign.input.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/golang.org/x/crypto/ed25519/testdata/sign.input.gz -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_example/themehelloworld.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/github.com/gizak/termui/_example/themehelloworld.png -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/types.hcl: -------------------------------------------------------------------------------- 1 | foo = "bar" 2 | bar = 7 3 | baz = [1,2,3] 4 | foo = -12 5 | bar = 3.14159 6 | foo = true 7 | bar = false 8 | -------------------------------------------------------------------------------- /tests/test_tcp_v4_close/test_tcp_v4_close: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | . tests/stampwait.sh 4 | 5 | stampwait $1 6 | 7 | timeout 5 nc -4 -l -p 65530 & 8 | exec nc -4 -p 65529 localhost 65530 9 | -------------------------------------------------------------------------------- /tests/test_tcp_v6_close/test_tcp_v6_close: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | . tests/stampwait.sh 4 | 5 | stampwait $1 6 | 7 | timeout 1 nc -6 -l -p 65530 & 8 | exec nc -6 -p 65529 localhost 65530 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/candide-gb18030.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/golang.org/x/text/encoding/testdata/candide-gb18030.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/rashomon-euc-jp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/golang.org/x/text/encoding/testdata/rashomon-euc-jp.txt -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/list_comment.input: -------------------------------------------------------------------------------- 1 | foo = [1, # Hello 2 | 2] 3 | 4 | foo = [1, # Hello 5 | 2, # World 6 | ] 7 | 8 | foo = [1, # Hello 9 | ] 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/sha3/testdata/keccakKats.json.deflate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/golang.org/x/crypto/sha3/testdata/keccakKats.json.deflate -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/candide-utf-16le.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/golang.org/x/text/encoding/testdata/candide-utf-16le.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/candide-utf-32be.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/golang.org/x/text/encoding/testdata/candide-utf-32be.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/rashomon-shift-jis.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/golang.org/x/text/encoding/testdata/rashomon-shift-jis.txt -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/scientific.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": 1e-10, 3 | "b": 1e+10, 4 | "c": 1e10, 5 | "d": 1.2e-10, 6 | "e": 1.2e+10, 7 | "f": 1.2e10 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/structure_multi.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": { 3 | "baz": { 4 | "key": 7 5 | }, 6 | 7 | "bar": { 8 | "key": 12 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/candide-windows-1252.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/golang.org/x/text/encoding/testdata/candide-windows-1252.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/unsu-joh-eun-nal-euc-kr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/golang.org/x/text/encoding/testdata/unsu-joh-eun-nal-euc-kr.txt -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.x 7 | - tip 8 | 9 | branches: 10 | only: 11 | - master 12 | 13 | script: make test 14 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/parser/test-fixtures/bad_input_tf_8110.json: -------------------------------------------------------------------------------- 1 | { 2 | "variable": { 3 | "poc": { 4 | "default": "${replace("europe-west", "-", " ")}" 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/structure2.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": [{ 3 | "baz": { 4 | "key": 7, 5 | "foo": "bar" 6 | } 7 | }, { 8 | "key": 7 9 | }] 10 | } 11 | -------------------------------------------------------------------------------- /tests/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: all 2 | 3 | all: cli $(patsubst %.c, %, $(shell find . -name '*.c')) 4 | 5 | cli: .FORCE 6 | 7 | .FORCE: 8 | go build -a -o cli cli.go 9 | 10 | %: %.c 11 | gcc -o $@ $^ 12 | -------------------------------------------------------------------------------- /tests/stampwait.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | function stampwait { 4 | touch $1 5 | # wait until the file is removed by run.sh 6 | while [ -f $1 ]; do 7 | sleep 1 8 | done 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_docs/events.md: -------------------------------------------------------------------------------- 1 | Event System 2 | --- 3 | 4 | Keyboard Events 5 | --- 6 | 7 | Mouse Events 8 | --- 9 | 10 | Window Events 11 | --- 12 | 13 | Custom Events 14 | --- 15 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/error_test.go: -------------------------------------------------------------------------------- 1 | package parser 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestPosError_impl(t *testing.T) { 8 | var _ error = new(PosError) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/parser/test-fixtures/good_input_tf_8110.json: -------------------------------------------------------------------------------- 1 | { 2 | "variable": { 3 | "poc": { 4 | "default": "${replace(\"europe-west\", \"-\", \" \")}" 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/structure2.hcl: -------------------------------------------------------------------------------- 1 | // This is a test structure for the lexer 2 | foo "baz" { 3 | key = 7 4 | foo = "bar" 5 | } 6 | 7 | foo { 8 | key = 7 9 | } 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-simplified-gbk.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-simplified-gbk.txt -------------------------------------------------------------------------------- /tests/test_tcp_v4_connect/test_tcp_v4_connect: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | . tests/stampwait.sh 4 | 5 | stampwait $1 6 | 7 | timeout 5 nc -4 -l -p 65530 & 8 | cat "${2}" 9 | exec nc -4 -p 65529 localhost 65530 10 | -------------------------------------------------------------------------------- /tests/test_tcp_v6_connect/test_tcp_v6_connect: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | . tests/stampwait.sh 4 | 5 | stampwait $1 6 | 7 | timeout 10 nc -6 -l -p 65530 & 8 | cat "${2}" 9 | exec nc -6 -p 65529 localhost 65530 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/go.sum: -------------------------------------------------------------------------------- 1 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= 2 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/missing_braces.hcl: -------------------------------------------------------------------------------- 1 | # should error, but not crash 2 | resource "template_file" "cloud_config" { 3 | template = "$file("${path.module}/some/path")" 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.4.x 4 | - 1.5.x 5 | - 1.6.x 6 | - 1.7.x 7 | - 1.8.x 8 | - 1.9.x 9 | - "1.10.x" 10 | - tip 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-traditional-big5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShiftLeftSecurity/traceleft/HEAD/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-traditional-big5.txt -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4 5 | - 1.5 6 | - 1.6 7 | - 1.7 8 | - 1.8 9 | - 1.9 10 | - tip 11 | 12 | go_import_path: gopkg.in/yaml.v2 13 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | #### What does this pull request do? 2 | 3 | 4 | #### Where should the reviewer start? 5 | 6 | 7 | #### How should this be manually tested? 8 | 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/comment.hcl: -------------------------------------------------------------------------------- 1 | // Foo 2 | 3 | /* Bar */ 4 | 5 | /* 6 | /* 7 | Baz 8 | */ 9 | 10 | # Another 11 | 12 | # Multiple 13 | # Lines 14 | 15 | foo = "bar" 16 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_multiline_no_stanza.input: -------------------------------------------------------------------------------- 1 | # This is a multiline comment 2 | # That has values like this: 3 | # 4 | # ami-abcd1234 5 | # 6 | # Do not delete this comment 7 | -------------------------------------------------------------------------------- /vendor/github.com/peterh/liner/go.sum: -------------------------------------------------------------------------------- 1 | github.com/mattn/go-runewidth v0.0.3 h1:a+kO+98RDGEfo6asOGMmpodZq4FNtnGP54yps8BzLR4= 2 | github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= 3 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/.mailmap: -------------------------------------------------------------------------------- 1 | Steve Francia 2 | Bjørn Erik Pedersen 3 | Fabiano Franz 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at https://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at https://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/unterminated_object_2.hcl: -------------------------------------------------------------------------------- 1 | resource "aws_eip" "EIP1" { a { a { a { a { a { 2 | count = "1" 3 | 4 | resource "aws_eip" "EIP2" { 5 | count = "1" 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_multiline_no_stanza.golden: -------------------------------------------------------------------------------- 1 | # This is a multiline comment 2 | # That has values like this: 3 | # 4 | # ami-abcd1234 5 | # 6 | # Do not delete this comment 7 | 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/list_comment.golden: -------------------------------------------------------------------------------- 1 | foo = [ 2 | 1, # Hello 3 | 2, 4 | ] 5 | 6 | foo = [ 7 | 1, # Hello 8 | 2, # World 9 | ] 10 | 11 | foo = [ 12 | 1, # Hello 13 | ] 14 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/comment.hcl: -------------------------------------------------------------------------------- 1 | // Foo 2 | 3 | /* Bar */ 4 | 5 | /* 6 | /* 7 | Baz 8 | */ 9 | 10 | # Another 11 | 12 | # Multiple 13 | # Lines 14 | 15 | foo = "bar" 16 | -------------------------------------------------------------------------------- /tests/test_tcp_v4_connect/test_tcp_v4_connect.script: -------------------------------------------------------------------------------- 1 | trace 42 %PID% %BASEDIR%/battery/out/handle_network_tcp_v4_connect.bpf 2 | trace 42 0 %BASEDIR%/battery/out/handle_network_tcp_set_state.bpf 3 | signal-fifo %FIFO% 4 | sleep 4 5 | -------------------------------------------------------------------------------- /tests/test_tcp_v6_connect/test_tcp_v6_connect.script: -------------------------------------------------------------------------------- 1 | trace 42 %PID% %BASEDIR%/battery/out/handle_network_tcp_v6_connect.bpf 2 | trace 42 0 %BASEDIR%/battery/out/handle_network_tcp_set_state.bpf 3 | signal-fifo %FIFO% 4 | sleep 20 5 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/escape.hcl: -------------------------------------------------------------------------------- 1 | foo = "bar\"baz\\n" 2 | bar = "new\nline" 3 | qux = "back\\slash" 4 | qax = "slash\\:colon" 5 | nested = "${HH\\:mm\\:ss}" 6 | nestedquotes = "${"\"stringwrappedinquotes\""}" 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/comment_crlf.hcl: -------------------------------------------------------------------------------- 1 | // Foo 2 | 3 | /* Bar */ 4 | 5 | /* 6 | /* 7 | Baz 8 | */ 9 | 10 | # Another 11 | 12 | # Multiple 13 | # Lines 14 | 15 | foo = "bar" 16 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/multiline_string.golden: -------------------------------------------------------------------------------- 1 | resource "null_resource" "some_command" { 2 | provisioner "local-exec" { 3 | command = "${echo ' 4 | some newlines 5 | and additonal output'}" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/multiline_string.input: -------------------------------------------------------------------------------- 1 | resource "null_resource" "some_command" { 2 | provisioner "local-exec" { 3 | command = "${echo ' 4 | some newlines 5 | and additonal output'}" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/suite_test.go: -------------------------------------------------------------------------------- 1 | package yaml_test 2 | 3 | import ( 4 | . "gopkg.in/check.v1" 5 | "testing" 6 | ) 7 | 8 | func Test(t *testing.T) { TestingT(t) } 9 | 10 | type S struct{} 11 | 12 | var _ = Suite(&S{}) 13 | -------------------------------------------------------------------------------- /tests/test_tcp_v4_accept/test_tcp_v4_accept: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | . tests/stampwait.sh 4 | 5 | stampwait $1 6 | 7 | (sleep 3 && echo "helo" | nc -4 -p 65529 localhost 65530) & 8 | cat "${2}" 9 | exec nc -4 -l -p 65530 >/dev/null 2>&1 10 | -------------------------------------------------------------------------------- /tests/test_tcp_v6_accept/test_tcp_v6_accept: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | . tests/stampwait.sh 4 | 5 | stampwait $1 6 | 7 | (sleep 5 && echo "helo" | nc -6 -p 65529 localhost 65530) & 8 | cat "${2}" 9 | exec nc -6 -l -p 65530 >/dev/null 2>&1 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/list_of_objects.golden: -------------------------------------------------------------------------------- 1 | list_of_objects = [ 2 | { 3 | key1 = "value1" 4 | key2 = "value2" 5 | }, 6 | { 7 | key3 = "value3" 8 | key4 = "value4" 9 | }, 10 | ] 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/decode_tf_variable.hcl: -------------------------------------------------------------------------------- 1 | variable "foo" { 2 | default = "bar" 3 | description = "bar" 4 | } 5 | 6 | variable "amis" { 7 | default = { 8 | east = "foo" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/testdata/webkit/pending-spec-changes-plain-text-unsafe.dat: -------------------------------------------------------------------------------- 1 | #data 2 | fillertext 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | | "fillertext" 9 | |
10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/test-fixtures/types.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar", 3 | "bar": 7, 4 | "baz": [1,2,3], 5 | "foo": -12, 6 | "bar": 3.14159, 7 | "foo": true, 8 | "bar": false, 9 | "foo": null 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/escape_backslash.hcl: -------------------------------------------------------------------------------- 1 | output { 2 | one = "${replace(var.sub_domain, ".", "\\.")}" 3 | two = "${replace(var.sub_domain, ".", "\\\\.")}" 4 | many = "${replace(var.sub_domain, ".", "\\\\\\\\.")}" 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/runewidth_js.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package runewidth 4 | 5 | func IsEastAsian() bool { 6 | // TODO: Implement this for the web. Detect east asian in a compatible way, and return true. 7 | return false 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/parser/test-fixtures/types.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar", 3 | "bar": 7, 4 | "baz": [1,2,3], 5 | "foo": -12, 6 | "bar": 3.14159, 7 | "foo": true, 8 | "bar": false, 9 | "foo": null 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/array_comment_2.hcl: -------------------------------------------------------------------------------- 1 | provisioner "remote-exec" { 2 | scripts = [ 3 | "${path.module}/scripts/install-consul.sh" // missing comma 4 | "${path.module}/scripts/install-haproxy.sh" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/list_of_objects.input: -------------------------------------------------------------------------------- 1 | list_of_objects = [ 2 | { 3 | key1 = "value1" 4 | key2 = "value2" 5 | }, 6 | { 7 | key3 = "value3" 8 | key4 = "value4" 9 | } 10 | ] -------------------------------------------------------------------------------- /vendor/golang.org/x/text/.gitignore: -------------------------------------------------------------------------------- 1 | # Add no patterns to .gitignore except for files generated by the build. 2 | last-change 3 | /DATA 4 | # This file is rather large and the tests really only need to be run 5 | # after generation. 6 | /unicode/norm/data_test.go -------------------------------------------------------------------------------- /vendor/golang.org/x/text/internal/export/README: -------------------------------------------------------------------------------- 1 | The export directory contains packages that are generated using the x/text 2 | infrastructure, but live elsewhere. 3 | At some point we can expose some of the infrastructure, but for now this 4 | is not done. 5 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/empty_block.golden: -------------------------------------------------------------------------------- 1 | variable "foo" {} 2 | variable "foo" {} 3 | 4 | variable "foo" { 5 | # Standalone comment should be still here 6 | } 7 | 8 | foo {} 9 | 10 | foo { 11 | bar = "mssola" 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: required 3 | go: 4 | - 1.7.5 5 | - 1.8 6 | - tip 7 | os: 8 | - linux 9 | matrix: 10 | allow_failures: 11 | - go: tip 12 | fast_finish: true 13 | script: 14 | - make check 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package cpu 6 | 7 | const cacheLineSize = 32 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package cpu 6 | 7 | const cacheLineSize = 64 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_s390x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package cpu 6 | 7 | const cacheLineSize = 256 8 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitignore: -------------------------------------------------------------------------------- 1 | # Setup a Global .gitignore for OS and editor generated files: 2 | # https://help.github.com/articles/ignoring-files 3 | # git config --global core.excludesfile ~/.gitignore_global 4 | 5 | .vagrant 6 | *.sublime-project 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_object_multi.golden: -------------------------------------------------------------------------------- 1 | variable "environment" { 2 | default = {} 3 | 4 | # default { 5 | # "region" = "us-west-2" 6 | # "sg" = "playground" 7 | # "env" = "prod" 8 | # } 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_object_multi.input: -------------------------------------------------------------------------------- 1 | variable "environment" { 2 | default = {} 3 | 4 | # default { 5 | # "region" = "us-west-2" 6 | # "sg" = "playground" 7 | # "env" = "prod" 8 | # } 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/empty_block.input: -------------------------------------------------------------------------------- 1 | variable "foo" {} 2 | variable "foo" { 3 | } 4 | 5 | variable "foo" { 6 | # Standalone comment should be still here 7 | } 8 | 9 | foo { 10 | } 11 | 12 | foo { 13 | bar = "mssola" 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/decode_policy.hcl: -------------------------------------------------------------------------------- 1 | key "" { 2 | policy = "read" 3 | } 4 | 5 | key "foo/" { 6 | policy = "write" 7 | } 8 | 9 | key "foo/bar/" { 10 | policy = "read" 11 | } 12 | 13 | key "foo/bar/baz" { 14 | policy = "deny" 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_array.input: -------------------------------------------------------------------------------- 1 | banana = [ 2 | # I really want to comment this item in the array. 3 | "a", 4 | 5 | # This as well 6 | "b", 7 | 8 | "c", # And C 9 | "d", 10 | 11 | # And another 12 | "e", 13 | ] 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/asm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·use(SB),NOSPLIT,$0 8 | RET 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_array.golden: -------------------------------------------------------------------------------- 1 | banana = [ 2 | # I really want to comment this item in the array. 3 | "a", 4 | 5 | # This as well 6 | "b", 7 | 8 | "c", # And C 9 | "d", 10 | 11 | # And another 12 | "e", 13 | ] 14 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - tip 4 | before_install: 5 | - go get github.com/mattn/goveralls 6 | - go get golang.org/x/tools/cmd/cover 7 | script: 8 | - $HOME/gopath/bin/goveralls -repotoken lAKAWPzcGsD3A8yBX3BGGtRUdJ6CaGERL 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_multiline_indent.golden: -------------------------------------------------------------------------------- 1 | resource "provider" "resource" { 2 | /* 3 | SPACE_SENSITIVE_CODE = < chars.go 7 | gofmt -w -s chars.go 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/language/go1_2.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.2 6 | 7 | package language 8 | 9 | import "sort" 10 | 11 | var sortStable = sort.Stable 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // secure is a repository of text security related packages. 6 | package secure // import "golang.org/x/text/secure" 7 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x14ae 9 | sysSENDMMSG = 0x14b6 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips64le.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x14ae 9 | sysSENDMMSG = 0x14b6 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mipsle.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x10ef 9 | sysSENDMMSG = 0x10f7 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_ppc64le.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x157 9 | sysSENDMMSG = 0x15d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/export_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | var Itoa = itoa 10 | -------------------------------------------------------------------------------- /vendor/google.golang.org/genproto/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.6 4 | - 1.7 5 | - 1.x 6 | go_import_path: google.golang.org/genproto 7 | 8 | script: 9 | - go test -v ./... 10 | - if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then 11 | go get -u -v cloud.google.com/go/...; 12 | fi 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_standalone.input: -------------------------------------------------------------------------------- 1 | // A standalone comment 2 | 3 | aligned { 4 | # Standalone 1 5 | 6 | a = "bar" # yoo1 7 | default = "bar" # yoo2 8 | 9 | # Standalone 2 10 | } 11 | 12 | # Standalone 3 13 | 14 | numbers = [1,2] // another line here 15 | 16 | # Standalone 4 17 | -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/_docs/components.md: -------------------------------------------------------------------------------- 1 | Overview 2 | --- 3 | 4 | Bufferer 5 | --- 6 | 7 | Block 8 | --- 9 | 10 | BarChart 11 | --- 12 | 13 | Canvas 14 | --- 15 | 16 | Gauge 17 | --- 18 | 19 | LineChart 20 | --- 21 | 22 | MBarChart 23 | --- 24 | 25 | Par 26 | --- 27 | 28 | Sparkline 29 | --- 30 | 31 | Sparklines 32 | --- 33 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/decode_tf_variable.json: -------------------------------------------------------------------------------- 1 | { 2 | "variable": { 3 | "foo": { 4 | "default": "bar", 5 | "description": "bar" 6 | }, 7 | 8 | "amis": { 9 | "default": { 10 | "east": "foo" 11 | } 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/iovisor/gobpf/elf/utsname_int8.go: -------------------------------------------------------------------------------- 1 | // +build linux,amd64 linux,arm64 2 | 3 | package elf 4 | 5 | func utsnameStr(in []int8) string { 6 | out := make([]byte, len(in)) 7 | for i := 0; i < len(in); i++ { 8 | if in[i] == 0 { 9 | break 10 | } 11 | out = append(out, byte(in[i])) 12 | } 13 | return string(out) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_little.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | // +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le 6 | 7 | package unix 8 | 9 | const isBigEndian = false 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/svc/go12.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build windows 6 | // +build !go1.3 7 | 8 | package svc 9 | 10 | // from go12.c 11 | func getServiceMain(r *uintptr) 12 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_standalone.golden: -------------------------------------------------------------------------------- 1 | // A standalone comment 2 | 3 | aligned { 4 | # Standalone 1 5 | 6 | a = "bar" # yoo1 7 | default = "bar" # yoo2 8 | 9 | # Standalone 2 10 | } 11 | 12 | # Standalone 3 13 | 14 | numbers = [1, 2] // another line here 15 | 16 | # Standalone 4 17 | 18 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | 4 | go: 5 | - 1.9 6 | - "1.10" 7 | - tip 8 | 9 | os: 10 | - linux 11 | - osx 12 | 13 | matrix: 14 | allow_failures: 15 | - go: tip 16 | fast_finish: true 17 | 18 | script: 19 | - go build 20 | - go test -race -v ./... 21 | 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/registry/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package registry 6 | 7 | //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go syscall.go 8 | -------------------------------------------------------------------------------- /tests/stampwait.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | static inline int stampwait(const char *path) { 5 | int fd = open(path, O_CREAT, 0755); 6 | if (fd < 0) 7 | return 1; 8 | close(fd); 9 | // wait until the file is removed by run.sh 10 | while (access(path, F_OK) != -1) 11 | sleep(1); 12 | sleep(1); 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/linechart_others.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Zack Guo . All rights reserved. 2 | // Use of this source code is governed by a MIT license that can 3 | // be found in the LICENSE file. 4 | 5 | // +build !windows 6 | 7 | package termui 8 | 9 | const VDASH = '┊' 10 | const HDASH = '┈' 11 | const ORIGIN = '└' 12 | -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/linechart_windows.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Zack Guo . All rights reserved. 2 | // Use of this source code is governed by a MIT license that can 3 | // be found in the LICENSE file. 4 | 5 | // +build windows 6 | 7 | package termui 8 | 9 | const VDASH = '|' 10 | const HDASH = '-' 11 | const ORIGIN = '+' 12 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/testhelper/unix2dos.go: -------------------------------------------------------------------------------- 1 | package testhelper 2 | 3 | import ( 4 | "runtime" 5 | "strings" 6 | ) 7 | 8 | // Converts the line endings when on Windows 9 | func Unix2dos(unix string) string { 10 | if runtime.GOOS != "windows" { 11 | return unix 12 | } 13 | 14 | return strings.Replace(unix, "\n", "\r\n", -1) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/icmp/sys_freebsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package icmp 6 | 7 | import "syscall" 8 | 9 | func init() { 10 | freebsdVersion, _ = syscall.SysctlUint32("kern.osreldate") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/maruel/panicparse/internal/goversion1.6.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Marc-Antoine Ruel. All rights reserved. 2 | // Use of this source code is governed under the Apache License, Version 2.0 3 | // that can be found in the LICENSE file. 4 | 5 | // +build go1.6 6 | 7 | package internal 8 | 9 | const ( 10 | showGOTRACEBACKBanner = true 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ssh/test/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package test contains integration tests for the 6 | // golang.org/x/crypto/ssh package. 7 | package test // import "golang.org/x/crypto/ssh/test" 8 | -------------------------------------------------------------------------------- /vendor/github.com/iovisor/gobpf/elf/utsname_uint8.go: -------------------------------------------------------------------------------- 1 | // +build linux,arm linux,ppc64 linux,ppc64le s390x 2 | 3 | package elf 4 | 5 | func utsnameStr(in []uint8) string { 6 | out := make([]byte, len(in)) 7 | for i := 0; i < len(in); i++ { 8 | if in[i] == 0 { 9 | break 10 | } 11 | out = append(out, byte(in[i])) 12 | } 13 | return string(out) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/maruel/panicparse/internal/goversion1.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Marc-Antoine Ruel. All rights reserved. 2 | // Use of this source code is governed under the Apache License, Version 2.0 3 | // that can be found in the LICENSE file. 4 | 5 | // +build go1.1 6 | // +build !go1.6 7 | 8 | package internal 9 | 10 | const ( 11 | showGOTRACEBACKBanner = false 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ssh/terminal/util_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package terminal 6 | 7 | import "golang.org/x/sys/unix" 8 | 9 | const ioctlReadTermios = unix.TCGETS 10 | const ioctlWriteTermios = unix.TCSETS 11 | -------------------------------------------------------------------------------- /vendor/github.com/gizak/termui/Gopkg.toml: -------------------------------------------------------------------------------- 1 | [[constraint]] 2 | name = "github.com/maruel/panicparse" 3 | branch = "master" 4 | 5 | [[constraint]] 6 | name = "github.com/davecgh/go-spew" 7 | version = "1.1.0" 8 | 9 | [[constraint]] 10 | name = "github.com/mitchellh/go-wordwrap" 11 | branch = "master" 12 | 13 | [prune] 14 | go-tests = true 15 | unused-packages = true 16 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/Makefile: -------------------------------------------------------------------------------- 1 | TEST?=./... 2 | 3 | default: test 4 | 5 | fmt: generate 6 | go fmt ./... 7 | 8 | test: generate 9 | go get -t ./... 10 | go test $(TEST) $(TESTARGS) 11 | 12 | generate: 13 | go generate ./... 14 | 15 | updatedeps: 16 | go get -u golang.org/x/tools/cmd/stringer 17 | 18 | .PHONY: default generate test updatedeps 19 | -------------------------------------------------------------------------------- /vendor/github.com/iovisor/gobpf/pkg/ksym/ksym_test.go: -------------------------------------------------------------------------------- 1 | package ksym 2 | 3 | import ( 4 | "strings" 5 | "testing" 6 | ) 7 | 8 | func TestKsym(t *testing.T) { 9 | data := "ffffffff91b2a340 T cgroup_freezing" 10 | 11 | r := strings.NewReader(data) 12 | fn := ksym("ffffffff91b2a340", r) 13 | 14 | if fn != "cgroup_freezing" { 15 | t.Error("unexpected result") 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/bpf/setter.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package bpf 6 | 7 | // A Setter is a type which can attach a compiled BPF filter to itself. 8 | type Setter interface { 9 | SetBPF(filter []RawInstruction) error 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /cli/traceleft-handlers/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "os" 6 | 7 | "github.com/spf13/cobra" 8 | ) 9 | 10 | var RootCmd = &cobra.Command{ 11 | Use: "traceleft-handlers", 12 | Short: "Generate handlers", 13 | } 14 | 15 | func main() { 16 | if err := RootCmd.Execute(); err != nil { 17 | fmt.Fprintf(os.Stderr, "%v\n", err) 18 | os.Exit(1) 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/error.go: -------------------------------------------------------------------------------- 1 | package parser 2 | 3 | import ( 4 | "fmt" 5 | 6 | "github.com/hashicorp/hcl/hcl/token" 7 | ) 8 | 9 | // PosError is a parse error that contains a position. 10 | type PosError struct { 11 | Pos token.Pos 12 | Err error 13 | } 14 | 15 | func (e *PosError) Error() string { 16 | return fmt.Sprintf("At %s: %s", e.Pos, e.Err) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.7.3 7 | - 1.8.1 8 | - tip 9 | 10 | matrix: 11 | allow_failures: 12 | - go: tip 13 | 14 | install: 15 | - go get github.com/golang/lint/golint 16 | - export PATH=$GOPATH/bin:$PATH 17 | - go install ./... 18 | 19 | script: 20 | - verify/all.sh -v 21 | - go test ./... 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http/httpproxy/go19_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.9 6 | 7 | package httpproxy_test 8 | 9 | import "testing" 10 | 11 | func init() { 12 | setHelper = func(t *testing.T) { t.Helper() } 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package windows 6 | 7 | //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build windows 6 | // +build go1.9 7 | 8 | package windows 9 | 10 | import "syscall" 11 | 12 | type Errno = syscall.Errno 13 | type SysProcAttr = syscall.SysProcAttr 14 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/open_mode_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build freebsd openbsd netbsd dragonfly 6 | 7 | package fsnotify 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const openMode = unix.O_NONBLOCK | unix.O_RDONLY 12 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/fuzz.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | set -eu 3 | 4 | go get github.com/dvyukov/go-fuzz/go-fuzz 5 | go get github.com/dvyukov/go-fuzz/go-fuzz-build 6 | 7 | if [ ! -e toml-fuzz.zip ]; then 8 | go-fuzz-build github.com/pelletier/go-toml 9 | fi 10 | 11 | rm -fr fuzz 12 | mkdir -p fuzz/corpus 13 | cp *.toml fuzz/corpus 14 | 15 | go-fuzz -bin=toml-fuzz.zip -workdir=fuzz 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/testdata/go/template.dat: -------------------------------------------------------------------------------- 1 | #data 2 | 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | |