def __get_all_posible_datarefs()

in nightMARE/src/nightmare/malware/xorddos/configuration.py [0:0]


def __get_all_posible_datarefs(report: SmdaReport.SmdaReport) -> list[int]:
    functions = report.getFunctions()
    datarefs = list()
    for function in functions:
        for ins in function.getInstructions():
            for ref in ins.getDataRefs():
                datarefs.append(ref)
    return datarefs