hackedteam/vector-edk

View on GitHub
ArmPlatformPkg/Scripts/Ds5/cmd_load_symbols.py

Summary

Maintainability
A
1 hr
Test Coverage

Avoid deeply nested control flow statements.
Open

                if regex.groups == 1:
                    regions.append((region_type,int(m.group(1),0),0))
                else:
                    regions.append((region_type,int(m.group(1),0),int(m.group(2),0)))
            else:
Severity: Major
Found in ArmPlatformPkg/Scripts/Ds5/cmd_load_symbols.py - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                    if regex.groups == 1:
                        raise Exception('cmd_load_symbols', "Expect a base address")
                    else:
                        raise Exception('cmd_load_symbols', "Expect a region format as (base,size)")
        
    Severity: Major
    Found in ArmPlatformPkg/Scripts/Ds5/cmd_load_symbols.py - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status