Commit Graph

  • 6307fd2c0e Fix nameMap #135 Pagran 2020-09-12 12:12:11 +0300
  • d032c0bd10 Fixes and extend private name charset Pagran 2020-09-11 16:16:24 +0300
  • b202bef01e Revert to json.Encoder Add tiny test for ldflags Fix err declaration Pagran 2020-09-10 18:01:03 +0300
  • 4611407781 Move to gob.Encoder Pagran 2020-09-10 09:47:58 +0300
  • e3bb6b1993 Fixes Pagran 2020-09-10 03:35:14 +0300
  • df51481053 Rewrite renaming logic for private names Pagran 2020-09-10 01:44:36 +0300
  • 0d182a3dbd remove unnecessary data from runtime if -tiny is passed Andrew LeFevre 2020-09-07 13:37:46 -0400
  • 0beb7b3fd2 remove more traceback related functions from the runtime #133 Andrew LeFevre 2020-09-08 16:59:30 -0400
  • 4484cb73bc strip more traceback info Andrew LeFevre 2020-09-08 07:15:20 -0400
  • 1bd7d48fde simplify stripRuntime, replace 'unnecessary info' with 'extra info' in README Andrew LeFevre 2020-09-08 07:00:41 -0400
  • 901d8752a2 remove unnecessary data from runtime if -tiny is passed Andrew LeFevre 2020-09-07 13:37:46 -0400
  • d679944408
    Strip all filename and position info when -tiny is passed (#128) Andrew LeFevre 2020-09-07 11:24:40 -0400
  • 15c54d29e5 remove debugdir #128 lu4p 2020-09-07 17:13:07 +0200
  • c5c19a9a33 Fix lu4p 2020-09-07 16:56:08 +0200
  • 86420e0b38 Fix line detection pagran 2020-09-07 17:40:56 +0300
  • 54667e5e51 Fix tiny test pagran 2020-09-07 17:35:08 +0300
  • 1b50a898bd
    all: fix links after moving repository (#131) Daniel Martí 2020-09-07 15:16:50 +0100
  • 8cd7ede77c all: fix links after moving repository #131 Daniel Martí 2020-09-07 14:17:02 +0100
  • 805c895d59 set up an AUTHORS file to attribute copyright Daniel Martí 2020-09-06 20:26:44 +0100
  • c59283c548 Update FUNDING.yml lu4p 2020-09-06 22:18:21 +0200
  • 28afcc6fcb
    Update FUNDING.yml #130 lu4p 2020-09-06 22:18:21 +0200
  • d72114575f set up an AUTHORS file to attribute copyright #129 Daniel Martí 2020-09-06 20:26:44 +0100
  • 3764df54a7 strip all filename and position info when -tiny is passed Andrew LeFevre 2020-09-06 14:01:34 -0400
  • d8d784639f
    Validate the user provided seed. (#126) lu4p 2020-09-06 15:23:26 +0200
  • 968ab7aadc Validate the user provided seed. #126 lu4p 2020-09-06 15:20:43 +0200
  • f764467e9b all: update the docs a bit Daniel Martí 2020-09-06 12:43:27 +0100
  • 6f39308d9f all: update the docs a bit #122 Daniel Martí 2020-09-06 12:43:27 +0100
  • c8d61c772f
    Garble imports and package paths in GOPRIVATE (#116) Andrew LeFevre 2020-09-05 17:29:10 -0400
  • fdc7cb6e0e split obfuscateImports logic into a few more functions, improved/added comments #116 Andrew LeFevre 2020-09-05 12:59:35 -0400
  • 20a81ba1e1 simplified part of imports test, move testing import path garbling in the syntax test Andrew LeFevre 2020-09-04 11:34:47 -0400
  • 8a1c98e6d3 fix issue where stdlib package names could sometimes accidentally get garbled, resulting in errors at the linking phase Andrew LeFevre 2020-09-04 11:18:54 -0400
  • 790b33e963 committed everything, hopefully the diff lines up correctly Andrew LeFevre 2020-09-02 16:32:10 -0400
  • 30df5e9bbd
    Disable plugin test (#120) Andrew LeFevre 2020-09-02 14:00:13 -0400
  • 1a8e6d9c43 fix README link to issue #120 Andrew LeFevre 2020-09-02 13:55:43 -0400
  • b44728c7ba add link to issue in README Andrew LeFevre 2020-09-02 13:51:48 -0400
  • 4743954dce disable plugin test for now, add note to README Andrew LeFevre 2020-09-02 13:48:03 -0400
  • dc02bc9f6b also replace 'println' statements in the runtime with panicprint Andrew LeFevre 2020-09-01 15:58:34 -0400
  • 505f81ee20 also replace 'println' statements in the runtime with panicprint #119 Andrew LeFevre 2020-09-01 15:58:34 -0400
  • 1bff68d8c8 update go-internal to fix go 1.16 Daniel Martí 2020-08-31 08:44:46 +0100
  • 7e4ab3ddb1 update go-internal to fix go 1.16 #118 Daniel Martí 2020-08-31 08:44:46 +0100
  • b250b64d2c
    update dependency versions, drop Go 1.14 Daniel Martí 2020-08-29 21:21:33 +0100
  • e1b827f09c update dependency versions #117 Daniel Martí 2020-08-28 23:49:22 +0100
  • 2b0156f469 update README #115 Andrew LeFevre 2020-08-27 08:39:37 -0400
  • 68bfe606af update go.mod and go.sum to point to github.com/Binject/debug on master branch Andrew LeFevre 2020-08-27 08:30:16 -0400
  • 3ee2cf530a improved error messages, added comments, commented out log statements Andrew LeFevre 2020-08-27 08:25:26 -0400
  • 889b9b8117 fixed some 'type..' symbols not getting garbled, staticcheck now can be 100% garbled Andrew LeFevre 2020-08-27 07:29:34 -0400
  • 3534210e7f fixed importpath symbols not getting garbled Andrew LeFevre 2020-08-26 17:32:29 -0400
  • 6890c11d5c fix namedata and symbol name garbling, staticcheck compiles and runs successfully Andrew LeFevre 2020-08-26 16:39:34 -0400
  • efd6468e80 garble all possible combinations of private imports, patching reflect data needs fixing Andrew LeFevre 2020-08-26 14:25:25 -0400
  • 1e463d85a4 updated to use new goobj2 ArchiveMembers api, fixed private import path ordering hopefully. Garble can now garble itself Andrew LeFevre 2020-08-26 10:31:25 -0400
  • bd46c29380
    add blacklist for runtime std packages pagran 2020-08-25 18:22:53 +0300
  • d91564f63c Simplify #114 Pagran 2020-08-25 16:52:39 +0300
  • c4745684ec Remove debug println Pagran 2020-08-25 16:32:19 +0300
  • 909fc7230e Add blacklist for std packages Pagran 2020-08-25 16:28:21 +0300
  • 9ef296f6a8
    Merge branch 'master' into wip-early-runtime-api #113 pagran 2020-08-25 15:40:41 +0300
  • 0a174e712b Add blacklist for std libs Pagran 2020-08-25 15:41:08 +0300
  • 951eb65510 never obfuscate unsafe.Pointer Daniel Martí 2020-08-24 22:24:46 +0200
  • 09c290e306 WIP: move addRuntimeAPI before typechecking Daniel Martí 2020-08-24 23:31:43 +0200
  • 27b12cfac1 never obfuscate unsafe.Pointer #112 Daniel Martí 2020-08-24 22:24:46 +0200
  • be99518853 add some comments, always garble main package path Andrew LeFevre 2020-08-24 10:38:54 -0400
  • b6dce75ca3 hash import paths with true buildIDs Andrew LeFevre 2020-08-24 09:49:34 -0400
  • d2d446f3bf fixed broken refecction data modification, import obfuscation 100% working with binclude!!! Andrew LeFevre 2020-08-24 09:39:58 -0400
  • 0f274d2bfb tweak to garble even more import path instances in symbols Andrew LeFevre 2020-08-23 13:53:59 -0400
  • 388ff7d1a4
    remove buggy number literal obfuscation lu4p 2020-08-23 19:33:54 +0200
  • 4864a7ac50 properly garble symbol names with multiple private import paths in them Andrew LeFevre 2020-08-23 13:24:00 -0400
  • ba52cf00ac Remove buggy number literal obfuscation. #111 lu4p 2020-08-23 16:46:00 +0200
  • b3f04e53d0
    Optimize fake line number pagran 2020-08-23 16:35:11 +0300
  • cddfd69257 Limit fake line numbers #110 pagran 2020-08-23 16:24:52 +0300
  • cc17f48dff Remove hashWithAsInt64 pagran 2020-08-23 16:03:11 +0300
  • 182a5d10ce Rewrite random pagran 2020-08-23 15:57:39 +0300
  • 42d9520c76 Line obfuscator optimization pagran 2020-08-23 11:16:50 +0300
  • 446fa77c8f struct method/field names properly obfuscated, still more import paths to get rid of somewhere... Andrew LeFevre 2020-08-21 15:52:16 -0400
  • 5e6f178d41 import obfuscation working for full import paths, last element of import paths are still leaked due to reflection data for struct methods/fields Andrew LeFevre 2020-08-21 15:30:41 -0400
  • 19d6983158 import obfuscation almost working, just need to garble import paths in symbol data Andrew LeFevre 2020-08-21 12:17:15 -0400
  • d3af58b558 complain when GOPRIVATE matches no packages Daniel Martí 2020-08-18 22:35:38 +0200
  • 81b4c49702 move the "missing -trimpath" test to the slow group (#106) Daniel Martí 2020-08-18 16:46:51 +0200
  • 5737cb7f8a Add windows support for benchmark (#105) pagran 2020-08-17 13:32:31 +0300
  • 511779d8ff testdata: set GOPRIVATE in all but two tests (#104) Daniel Martí 2020-08-16 13:52:44 +0200
  • 20ae38104c reuse the first call to 'go env' (#101) Daniel Martí 2020-08-15 00:23:21 +0200
  • ea51e78283 Check that all files use LF line endings in CI lu4p 2020-08-14 21:24:15 +0200
  • 00b1c19a6f complain when GOPRIVATE matches no packages #109 Daniel Martí 2020-08-18 22:35:38 +0200
  • 081baaec10 move the "missing -trimpath" test to the slow group #106 Daniel Martí 2020-08-18 16:36:16 +0200
  • 0d72fa229d
    Add windows support for benchmark (#105) pagran 2020-08-17 13:32:31 +0300
  • cd97f2f4e4 Simplify #105 Pagran 2020-08-17 13:28:38 +0300
  • 8f10b1a1ce Add windows support for benchmark Pagran 2020-08-17 13:16:16 +0300
  • d00226540c Fix token.Float integer literals #102 lu4p 2020-08-16 19:57:49 +0200
  • 13e273c9b3 use bitsets to detirmine what literals to obfuscate, handle errors from obfuscateNumberLiteral. Found an logic bug in numerical obfuscation by handling these errors Andrew LeFevre 2020-08-16 11:25:48 -0400
  • 85fdc4a3a0
    testdata: set GOPRIVATE in all but two tests (#104) Daniel Martí 2020-08-16 13:52:44 +0200
  • 05c56ca0a4 testdata: set GOPRIVATE in all but two tests #104 Daniel Martí 2020-08-16 11:55:48 +0200
  • dfd1d5b4e2 fix tests Andrew LeFevre 2020-08-15 18:01:59 -0400
  • b7cc927ef5 make -literals a string flag to allow users to specify what types of literals will be obfuscated Andrew LeFevre 2020-08-15 16:48:47 -0400
  • a0c84bdfd4
    reuse the first call to 'go env' (#101) Daniel Martí 2020-08-15 00:23:21 +0200
  • a4a4500104 reuse the first call to 'go env' #101 Daniel Martí 2020-08-15 00:06:48 +0200
  • fe0def8db9 Fix lu4p 2020-08-14 22:04:06 +0200
  • aaa589bdec Check that all files use LF line endings in CI lu4p 2020-08-14 21:24:15 +0200
  • 75e904f6d4
    various minor cleanups and fixes (#99) Daniel Martí 2020-08-14 22:46:26 +0200
  • 02d567f7e6 Fix #100 lu4p 2020-08-14 22:04:06 +0200
  • ec79e08f08 Check that all files use LF line endings in CI lu4p 2020-08-14 21:24:15 +0200
  • d85d863f2d various minor cleanups and fixes #99 Daniel Martí 2020-08-14 21:05:12 +0200
  • 2735555ab2
    Update filename and add line number obfuscation (#94) pagran 2020-08-14 21:47:15 +0300