Forbid assignment propagation

Hotkey: none

This command disables propagation of the assignments of the specified local variable. In some cases, the decompiler is too eager to propagate assignments. For example:

  v5 = v3 + 7 - v4[11];
  if ( (v3 + 7 - v4[11]) != 0 )
    ...

could be simplified into

  v5 = v3 + 7 - v4[11];
  if ( v5 )
    ...

Please note that the decompiler does not check if there any revertable propagations, so in some cases this action won't yield any visible result.

To revert this action, use Edit, Other, Reset decompiler information, or use undo.

See also: interactive operation

Last updated

Was this helpful?