Commit Graph

  • 69d7b84f35 Fix reflection detection for linknamed methods (#883) NHAS 2024-11-02 17:46:03 +13:00
  • 48dd2263a9 fix printf issues spotted by the latest go vet Daniel Martí 2024-09-06 14:30:44 +01:00
  • 85df7f5f8b add changelog entry for v0.13.0 v0.13.0 Daniel Martí 2024-09-05 21:20:05 +01:00
  • 0b253f12c2 README: fix up Go minimum requirement Daniel Martí 2024-09-05 21:19:46 +01:00
  • 324c1d5d7e internal/ssa2ast: satisfy staticcheck with an ignore directive Daniel Martí 2024-09-02 22:36:28 +01:00
  • b6cd5a0aa9 update third party projects to test to support Go 1.23 Daniel Martí 2024-09-02 22:21:38 +01:00
  • 48fac78ecc set up go/types.Config.Sizes according to GOARCH Daniel Martí 2024-09-01 00:24:50 +01:00
  • 4fcce60e3a remove -mod and -modfile flags rather than setting them to zero Daniel Martí 2024-08-31 23:42:49 +01:00
  • d004d62367 re-add "package P not in std" special case when loading runtimeLinknamed Daniel Martí 2024-08-31 23:40:30 +01:00
  • 9db3b45d03 CI: start testing on Go 1.23 Daniel Martí 2024-08-31 01:52:19 +01:00
  • 92a7b5fe8a remove test linknames into std Daniel Martí 2024-08-31 01:48:15 +01:00
  • 51ee956e90 disable linker.txtar as it's broken by design on Go 1.23 Daniel Martí 2024-08-31 01:39:07 +01:00
  • 36457412db tweak script/reverse.txtar to pass on both Go 1.22 and 1.23 Daniel Martí 2024-08-31 01:24:11 +01:00
  • 239f91d2fa update golang.org/x/... Daniel Martí 2024-08-31 01:03:50 +01:00
  • 04df5ea4df add linker patches for Go 1.23 Daniel Martí 2024-08-31 00:50:12 +01:00
  • 6e35ed3db3 generate Go tables for Go 1.23 as well Daniel Martí 2024-08-31 00:45:55 +01:00
  • c1439947f9 generate Go tables with a list of GOTOOLCHAIN versions Daniel Martí 2024-08-31 00:25:10 +01:00
  • b49a13c556 code generate a single compiler intrinsics table Daniel Martí 2024-08-27 00:32:21 +01:00
  • 2259abb89f rewrite generation of go_std_tables.go from Bash to Go Daniel Martí 2024-08-26 23:51:28 +01:00
  • a99fbcbe43 use -mod=readonly rather than -mod= for go list dydysy 2024-08-27 16:13:19 +08:00
  • c41f026cd6 README: clarify that we have no plans to exclude files or packages Daniel Martí 2024-04-25 09:40:54 +01:00
  • 9f82b2bbfe make pointer regular expressions more flexible Daniel Martí 2024-04-25 10:07:05 +01:00
  • 20a92460d5 all: use cmd.Environ rather than os.Environ Daniel Martí 2024-03-08 11:17:38 +00:00
  • 52d436d38a remove err conditional that was never met Daniel Martí 2024-03-08 11:14:06 +00:00
  • d2beda1f00 switch frankban/quicktest for go-quicktest/qt Daniel Martí 2024-02-25 23:12:04 +00:00
  • f09db67c89 use types.Info.PkgNameOf Daniel Martí 2024-02-18 11:25:25 +00:00
  • f08edd026d README: document the package initialization order caveat Daniel Martí 2024-02-18 10:59:06 +00:00
  • 9a2ef369b2 fail early if we know we lack Go linker patches Daniel Martí 2024-02-18 09:51:43 +00:00
  • d138afaf32 don't panic when we can error as easily Daniel Martí 2024-02-18 09:37:05 +00:00
  • 975f608c3d CHANGELOG: add entry for v0.12.1 Daniel Martí 2024-02-18 11:34:04 +00:00
  • ea3674ea86 CHANGELOG: add entry for v0.12.1 v0.12.1 ci-test Daniel Martí 2024-02-18 11:34:04 +00:00
  • ed4f91665d obfuscate syscall again to fix x/sys/unix Daniel Martí 2024-02-17 23:59:07 +00:00
  • 66b61406c1 obfuscate syscall again to fix x/sys/unix Daniel Martí 2024-02-17 23:59:07 +00:00
  • 69bc62c56c start using some Go 1.22 features Daniel Martí 2024-02-11 21:36:32 +00:00
  • ad2ecc7f2f drop Go 1.21 and start using go/version Daniel Martí 2024-02-11 21:26:14 +00:00
  • d76bc2eb47 add trash block generator docs pagran 2024-02-11 11:38:18 +01:00
  • f3f57e361d CHANGELOG: finish up for a release v0.12.0 Daniel Martí 2024-02-10 10:34:33 +00:00
  • b469dcaf9d bump deps for the upcoming release Daniel Martí 2024-02-10 10:32:55 +00:00
  • 55921a06d4 fix building for GOOS=darwin on Go 1.22.0 Daniel Martí 2024-02-08 14:17:15 +00:00
  • 7a67952494 CHANGELOG: draft release notes for v0.12.0 Daniel Martí 2024-02-07 11:21:01 +00:00
  • e6299c5ac3 CI: start testing on 1.22 now that it's released Daniel Martí 2024-02-07 10:37:50 +00:00
  • 9cb4a6f0c8 amend panic message after decodeHash got renamed Daniel Martí 2024-02-07 10:31:56 +00:00
  • e8fe80d627 add trash block generator (#825) pagran 2024-01-16 18:01:53 +03:00
  • c43cf74195 add package godoc Daniel Martí 2023-12-27 23:23:06 +01:00
  • bdfa619f77 support inline comments in asm #include lines Daniel Martí 2023-12-25 22:52:44 +01:00
  • de65196495 fix support for go1.22rc1 Daniel Martí 2023-12-24 23:47:23 +01:00
  • 3a9c9aa3d4 fix shuffle obfuscation compiler optimization pagran 2023-12-06 21:25:24 +01:00
  • 96d2d8b0de track types used in make assigned to a reflected type Paul Scheduikat 2023-12-06 21:30:48 +01:00
  • 0752f9e5df fix ios build Mrs4s 2023-12-04 17:58:31 +08:00
  • de2c23b2c0 README: start a section on the use cases for a Go obfuscator Daniel Martí 2023-12-03 14:07:09 +00:00
  • 02175c5018 CHANGELOG: finalise for v0.11.0 v0.11.0 Daniel Martí 2023-12-03 13:08:20 +00:00
  • d283d8479c add and test initial support for Go 1.22 Daniel Martí 2023-12-02 22:24:07 +00:00
  • 9378ec959a CHANGELOG: start drafting the next release notes Daniel Martí 2023-11-19 14:56:15 +00:00
  • 36ada88a79 add control flow hardening docs pagran 2023-11-18 21:00:38 +01:00
  • bec8043790 track converted types when recording reflection usage Paul Scheduikat 2023-11-18 14:59:23 +01:00
  • 4271bc45ae avoid panic when embedding a builtin alias Daniel Martí 2023-11-14 21:18:40 +00:00
  • 6f0e46f80b strip struct tags when hashing structs for type identity Daniel Martí 2023-11-12 21:28:07 +00:00
  • 08b3d9db61 add a couple of reminder TODOs for go/... packages Daniel Martí 2023-11-12 11:34:29 +00:00
  • 126618a0d5 drop support for Go 1.20 Daniel Martí 2023-11-12 11:19:15 +00:00
  • abcdc1fcbf re-generate go_std_tables.go with Go master Daniel Martí 2023-11-12 10:51:52 +00:00
  • e712e720ce use x/tools version from go.mod in go:generate Daniel Martí 2023-11-12 10:47:17 +00:00
  • c314fcb61c update deps Daniel Martí 2023-11-12 10:45:05 +00:00
  • 5e80f12be7 implement flattening hardening pagran 2023-07-30 22:11:04 +02:00
  • 978fd6d518 appease Go 1.22's stricter base64 sanity checks Daniel Martí 2023-10-08 22:55:35 +01:00
  • 82834ace20 testdata: skip runtime rebuild test on darwin Daniel Martí 2023-09-23 17:31:33 +01:00
  • 716322cdf8 all: start suggesting Go 1.21 and testing on it Daniel Martí 2023-08-25 21:37:21 +01:00
  • 344cdd5e7b make go test -race fast again on Go 1.21 Daniel Martí 2023-09-24 15:32:36 +01:00
  • 66bdc8b124 Use go install instead of garble install Hritik Vijay 2023-09-21 01:31:13 +05:30
  • 9dbbb518d1 recheck types after obfuscation of literals literalRecheck lu4p 2023-08-28 00:07:29 +02:00
  • 23c8641855 propagate "uses reflection" through SSA stores Daniel Martí 2023-08-01 23:43:01 +01:00
  • afe1aad916 Removing obsolete TODO pagran 2023-07-22 21:53:46 +02:00
  • 9612b29423 add generic function support for control flow obfuscation pagran 2023-07-09 13:30:04 +02:00
  • 260cad2a3f add "max" flag value and limits for control flow obfuscation parameters pagran 2023-07-01 22:10:30 +02:00
  • 8fd5f10d1d add control flow obfuscation docs pagran 2023-06-28 10:50:23 +02:00
  • 0e2e483472 add control flow obfuscation pagran 2023-06-25 22:57:27 +02:00
  • d89a55687c add a regression test for type names and reflect v0.10.1 Daniel Martí 2023-06-25 14:24:38 +01:00
  • 8f7248939c CHANGELOG: add entry for v0.10.1 Daniel Martí 2023-06-25 13:22:34 +01:00
  • 2a10dc7f41 minor tweaks in preparation for Go 1.21 Daniel Martí 2023-06-25 13:17:09 +01:00
  • d60957d514 add more reflect test cases and simplify logic Daniel Martí 2023-06-25 12:18:06 +01:00
  • 404b2ce128 ignore embedded fields used in reflection (#768) xuannv 2023-06-24 22:41:46 +07:00
  • 47296634f1 Include actual count of files with CRLF endings found Emmanuel Chee-zaram Okeke 2023-06-22 02:41:20 +01:00
  • d3763143bd ready changelog for release v0.10.0 Daniel Martí 2023-06-05 22:05:34 +01:00
  • 3364c5c38f update deps prior to release Daniel Martí 2023-06-05 21:46:24 +01:00
  • 155bc3228e CHANGELOG: add entry for the imminent v0.10.0 Daniel Martí 2023-06-04 16:05:03 +01:00
  • c26734c668 simplify our handling of "go list" errors Daniel Martí 2023-06-04 14:09:18 +01:00
  • 59222cb14b various minor TODO cleanups Daniel Martí 2023-06-04 11:06:00 +01:00
  • 31d2d9263a README: suggest how to install master Daniel Martí 2023-06-04 15:31:54 +01:00
  • eb18969adb finally remove garbleActionID hack Daniel Martí 2023-06-03 22:33:33 +01:00
  • 6dd5c53a91 internal/linker: place files under GARBLE_CACHE Daniel Martí 2023-06-03 22:28:32 +01:00
  • 79376a15f9 support computing missing pkgCache entries Daniel Martí 2023-06-03 20:31:36 +01:00
  • c5af68cd80 move curPkgCache out of the global scope Daniel Martí 2023-06-03 17:23:35 +01:00
  • 4f743b0861 move curPkg and origImporter out of the globals Daniel Martí 2023-06-03 17:13:33 +01:00
  • 5fddfe1e61 rename func and update docs on handleDirectives Daniel Martí 2023-06-03 12:47:31 +01:00
  • d5cbf2edca separate and rename prefillObjectMaps Daniel Martí 2023-06-03 12:44:27 +01:00
  • f85492a728 split typecheck and loadPkgCache from transformer Daniel Martí 2023-06-03 12:27:00 +01:00
  • 4b0b2acf6f isolate reflect.go from updating globals directly Daniel Martí 2023-06-02 23:17:52 +01:00
  • d108f21846 apply TODO to rename "cannot obfuscate" APIs Daniel Martí 2023-06-02 23:03:36 +01:00
  • e079c0af43 declare a type for cachedOutput Daniel Martí 2023-06-02 22:51:54 +01:00
  • da5ddfa45d avoid go:linkname warnings when building on tip Daniel Martí 2023-06-03 10:39:15 +01:00
  • 0f2b59d794 merge the two "known cannot obfuscate" maps Daniel Martí 2023-05-31 22:52:25 +01:00