Interface NativeConfig.Compression

Enclosing interface:
NativeConfig

public static interface NativeConfig.Compression
  • Method Summary

    Modifier and Type
    Method
    Description
    Allows passing extra arguments to the UPX command line (like --brute).
    The compression level in [1, 10].
  • Method Details

    • level

      OptionalInt level()
      The compression level in [1, 10]. 10 means best.

      Higher compression level requires more time to compress the executable.

    • additionalArgs

      Optional<List<String>> additionalArgs()
      Allows passing extra arguments to the UPX command line (like --brute). The arguments are comma-separated. The exhaustive list of parameters can be found in https://github.com/upx/upx/blob/devel/doc/upx.pod.