Skip to content

Unchecked Return Value of *scanf' rule not work in IDA 9.1 #24

@JsHuang

Description

@JsHuang

Hi, using the latest version in IDA 9.1 got errors:

The rule "{'name': 'Unchecked Return Value of *scanf', 'function_names': ['_isoc99_scanf', 'fscanf', 'scanf', 'sscanf', 'vfscanf', 'vfscanf_s', 'vfwscanf', 'vfwscanf_s', 'vscanf', 'vscanf_s', 'vsscanf', 'vsscanf_s', 'vswscanf', 'vswscanf_s', 'vwscanf', 'vwscanf_s'], 'wrappers': False, 'mark_if': {'High': 'not function_call.return_value_checked()', 'Medium': 'not function_call.return_value_checked(param_count - 2)', 'Low': 'False'}}" is not valid!

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions