add control flow obf for garble

This commit is contained in:
KingKDot
2026-04-20 13:46:59 -05:00
parent a43da5e047
commit a58e0fadf1
37 changed files with 47 additions and 0 deletions
@@ -173,6 +173,7 @@ func findSystemCaptureDevice(ctx malgo.Context) (*malgo.DeviceID, string, bool)
}
func StartVoiceSession(parent context.Context, source string, onCapture func([]byte)) (*Session, error) {
//garble:controlflow block_splits=10 junk_jumps=10 flatten_passes=2
if onCapture == nil {
return nil, errors.New("voice capture callback is required")
}