# Path: ma/core.py
# X86_PATTERNS = ["amd64", "AMD64", "[xX]86", "[xX]86_64", "[iI]386", "[iI]486",
#                 "[iI]686"]
# PPC_PATTERNS = ["PPC", "ppc", "power[pP][cC]", "POWER[pP][cC]"]
# def get_supported_checkers():
# def get_supported_extensions():
# def execute(command):
# def execute_stdout(command):
# def cmdexists(command):
# def get_timestamp():
# def get_files(location, hint=''):
# def get_file_content(file_name, offset, length):
# def get_raw_node(node):
# def get_includes(file_path):
# def get_ifdefs(file_path):
# def get_ifdef_regex(arch, separator):


import re
from ma import core
                continue

            statement_end = [";", "=", "{"]
            # If is a macro, the statement can ends in a break line
            if is_macro:
                statement_end.append("\n")
                is_macro = False

            # Assemble the statement
            while not any(x in token for x in statement_end):
                index += 1
                if index >= len(tokens):
                    break
                token += tokens[index]
            # Remove the delimiter and extra spaces
            statement = token[:-1]
            statement = statement.strip()
            formatted_statements.append([statement, line])
    return formatted_statements


def _check_token(token, names):
    """ Checks if a token exists in names list.
    As some versions of regex module only support groups of 100, this method
    splits the names in sub-groups in order to check the token. Best case
    scenario, the token will be found in the first 100 elements. In the worst
    case, it will go through all the list as usual. """

    max_regex = 99
    grouped_names = [names[i: i + max_regex] for i in range(0, len(names), max_regex)]

# Path: ma/core.py
# X86_PATTERNS = ["amd64", "AMD64", "[xX]86", "[xX]86_64", "[iI]386", "[iI]486",
#                 "[iI]686"]
# PPC_PATTERNS = ["PPC", "ppc", "power[pP][cC]", "POWER[pP][cC]"]
# def get_supported_checkers():
# def get_supported_extensions():
# def execute(command):
# def execute_stdout(command):
# def cmdexists(command):
# def get_timestamp():
# def get_files(location, hint=''):
# def get_file_content(file_name, offset, length):
# def get_raw_node(node):
# def get_includes(file_path):
# def get_ifdefs(file_path):
# def get_ifdef_regex(arch, separator):


# Path: ma/checkers/checker_file_utils.py
import re
from ma import core

                continue

            statement_end = [";", "=", "{"]
            # If is a macro, the statement can ends in a break line
            if is_macro:
                statement_end.append("\n")
                is_macro = False

            # Assemble the statement
            while not any(x in token for x in statement_end):
                index += 1
                if index >= len(tokens):
                    break
                token += tokens[index]
            # Remove the delimiter and extra spaces
            statement = token[:-1]
            statement = statement.strip()
            formatted_statements.append([statement, line])
    return formatted_statements


def _check_token(token, names):
    """ Checks if a token exists in names list.
    As some versions of regex module only support groups of 100, this method
    splits the names in sub-groups in order to check the token. Best case
    scenario, the token will be found in the first 100 elements. In the worst
    case, it will go through all the list as usual. """

    max_regex = 99
    grouped_names = [names[i: i + max_regex] for i in range(0, len(names), max_regex)]

    for sub_names in grouped_names: