Randomize Arguments

free web templates

Randomize the order of arguments to a function, and optionally add extra bogus arguments. Useful to run after the --Transform=Merge transform (to hide the extra selector argument) or the --Transform=EncodeLiterals --EncodeLiteralsKinds=string transform (to hide the otherwise obvious signature of the generated string encoder function).

OptionArgumentsDescription
--Transform RndArgs Randomize the order of arguments to a function and add extra bogus arguments.
--RndArgsBogusNo INTSPEC Number of bogus arguments to add. Default=0.


Issues

  • Doesn't work with functions with varargs.
  • Doesn't work for functions whose address is taken and then called through a function pointer.