/ 89 entries
- .github/ (directory) ci: prebuild slicetest library for the Android emulator
- cstrings/ (directory) fork: rename module path to github.com/bnema/purego
- examples/ (directory) fork: rename module path to github.com/bnema/purego
- internal/ (directory) fork: rename module path to github.com/bnema/purego
- objc/ (directory) fork: rename module path to github.com/bnema/purego
- testdata/ (directory) test(syscall): prove pointer liveness across Syscall6
- .gitignore 3 B .github/workflows: add test.yml (#30)
- LICENSE 11.1 KiB first commit
- README.md 6.0 KiB chore(callbacks): make diagnostics opt-in
- abi_amd64.h 2.7 KiB all: copy ABI Headers (#147)
- abi_arm64.h 1.5 KiB all: copy ABI Headers (#147)
- abi_loong64.h 1.9 KiB purego: add support for loong64 (#335)
- callback_diagnostics_test.go 1.4 KiB chore(callbacks): make diagnostics opt-in
- callback_test.go 17.4 KiB purego: add callback lifecycle APIs for puregotk
- cdecl.go 474 B purego: support 32 arguments on 64bit (#431)
- cgo.go 785 B fork: rename module path to github.com/bnema/purego
- dlerror.go 410 B all: Add support for NetBSD (#268)
- dlfcn.go 3.4 KiB all: fix the link error with Go 1.24.3 (#312)
- dlfcn_android.go 881 B fork: rename module path to github.com/bnema/purego
- dlfcn_darwin.go 1.0 KiB return errno value on darwin amd64/arm64 (#416)
- dlfcn_freebsd.go 795 B Call C dlfcn functions directly on android (#263)
- dlfcn_linux.go 678 B Call C dlfcn functions directly on android (#263)
- dlfcn_netbsd.go 786 B all: Add support for NetBSD (#268)
- dlfcn_nocgo_freebsd.go 358 B Fix issue 189 (#197)
- dlfcn_nocgo_linux.go 749 B playground support (#220)
- dlfcn_nocgo_netbsd.go 350 B all: NetBSD: fix failing tests (#433)
- dlfcn_playground.go 600 B Remove linkname on playground (#250)
- dlfcn_stubs.s 624 B internal/fakecgo: remove unnecessary RET instruction (#380)
- dlfcn_test.go 2.0 KiB fork: rename module path to github.com/bnema/purego
- export_test.go 435 B purego: support structs on ppc64le (#475)
- func.go 27.5 KiB purego: support []string and array values in RegisterFunc
- func_slice_test.go 1.7 KiB purego: support []string and array values in RegisterFunc
- func_sysv_test.go 1.5 KiB purego: add callback lifecycle APIs for puregotk
- func_test.go 28.5 KiB fork: rename module path to github.com/bnema/purego
- gen.go 147 B purego: add wincallback.go (#337)
- go.mod 42 B fork: rename module path to github.com/bnema/purego
- go.sum 0 B examples: remove depdencies on golang.org/x/sys/windows (#278)
- go_runtime.go 590 B purego: support arm soft-float abi (#494)
- is_ios.go 381 B all: fix build tags (#56)
- nocgo.go 1.2 KiB fork: rename module path to github.com/bnema/purego
- struct_amd64.go 15.1 KiB all: use range-over-int in counting loops (#503)
- struct_arm.go 3.1 KiB purego: support structs on ppc64le (#475)
- struct_arm64.go 23.3 KiB fork: rename module path to github.com/bnema/purego
- struct_loong64.go 7.1 KiB purego: support structs on ppc64le (#475)
- struct_other.go 2.0 KiB purego: support structs on ppc64le (#475)
- struct_ppc64le.go 5.4 KiB purego: support structs on ppc64le (#475)
- struct_riscv64.go 3.9 KiB all: use range-over-int in counting loops (#503)
- struct_s390x.go 3.9 KiB all: use range-over-int in counting loops (#503)
- struct_test.go 45.9 KiB fork: rename module path to github.com/bnema/purego
- sys_386.s 3.7 KiB purego: clear uncaptured errno in syscall trampolines (#510)
- sys_amd64.s 6.6 KiB purego: clear uncaptured errno in syscall trampolines (#510)
- sys_arm.s 4.2 KiB purego: clear uncaptured errno in syscall trampolines (#510)
- sys_arm64.s 4.3 KiB purego: clear uncaptured errno in syscall trampolines (#510)
- sys_loong64.s 3.2 KiB purego: clear uncaptured errno in syscall trampolines (#510)
- sys_ppc64le.s 3.7 KiB purego: clear uncaptured errno in syscall trampolines (#510)
- sys_riscv64.s 3.3 KiB purego: clear uncaptured errno in syscall trampolines (#510)
- sys_s390x.s 4.1 KiB purego: clear uncaptured errno in syscall trampolines (#510)
- sys_unix_386.s 5.5 KiB purego: return 64-bit callback results on 386 (#519)
- sys_unix_arm.s 1.9 KiB purego: support arm soft-float abi (#494)
- sys_unix_arm64.s 2.3 KiB purego: support returning structs from callbacks (#436)
- sys_unix_loong64.s 2.1 KiB purego: support returning structs from callbacks (#436)
- sys_unix_ppc64le.s 3.8 KiB purego: add support for ppc64le (#408)
- sys_unix_riscv64.s 2.1 KiB all: run asmfmt on all assembly code (#404)
- sys_unix_s390x.s 3.5 KiB fakecgo: add s390x support for CGO_ENABLED=0 (#422)
- syscall.go 3.8 KiB purego: add SyscallSelf for allocation-free method calls
- syscall_32bit.go 3.9 KiB purego: add SyscallSelf for allocation-free method calls
- syscall_bench_test.go 9.6 KiB feat(syscall): add fixed-arity zero-allocation Syscall6 and Syscall15
- syscall_cgo_linux.go 590 B fork: rename module path to github.com/bnema/purego
- syscall_fixed.go 1.8 KiB feat(syscall): add fixed-arity zero-allocation Syscall6 and Syscall15
- syscall_fixed_test.go 1.6 KiB test(syscall): prove pointer liveness across Syscall6
- syscall_linux_test.go 7.9 KiB fork: rename module path to github.com/bnema/purego
- syscall_notstackargs.go 1.6 KiB purego: properly handle 64-bit integers on 32-bit arm (#491)
- syscall_ppc64le.go 2.7 KiB purego: add SyscallSelf for allocation-free method calls
- syscall_self.go 704 B purego: add SyscallSelf for allocation-free method calls
- syscall_self_test.go 2.0 KiB purego: add SyscallSelf for allocation-free method calls
- syscall_stackargs_ppc64le.go 944 B purego: properly handle 64-bit integers on 32-bit arm (#491)
- syscall_stackargs_s390x.go 966 B purego: properly handle 64-bit integers on 32-bit arm (#491)
- syscall_test.go 1.9 KiB fork: rename module path to github.com/bnema/purego
- syscall_unix.go 27.1 KiB feat(callback): add reflection-free NewCallbackInts fast path
- syscall_windows.go 4.6 KiB feat(callback): add reflection-free NewCallbackInts fast path
- wincallback.go 8.3 KiB all: use range-over-int in counting loops (#503)
- zcallback_386.s 75.7 KiB purego: add support for linux/386 (#403)
- zcallback_amd64.s 45.5 KiB all: run asmfmt on all assembly code (#404)
- zcallback_arm.s 77.6 KiB purego: add support for linux/arm32 (#391)
- zcallback_arm64.s 77.6 KiB all: run asmfmt on all assembly code (#404)
- zcallback_loong64.s 77.7 KiB all: run asmfmt on all assembly code (#404)
- zcallback_ppc64le.s 77.6 KiB purego: add support for ppc64le (#408)
- zcallback_riscv64.s 72.8 KiB all: run asmfmt on all assembly code (#404)
- zcallback_s390x.s 75.7 KiB purego: add support for s390x (#413)