def METHOD_NAME(ghidra_analysis, basic_block):
    """
    :param ghidra_analysis: instance of GhidraAnalysis
    :param basic_block: ghidra.program.model.pcode.PcodeBlockBasic
    :return: list
    """
    call_sites = []
    op_iter = basic_block.getIterator()
    for pcode_op in iter_array(op_iter, ghidra_analysis.monitor):
        if pcode_op.getOpcode() == PcodeOp.CALL:
            called_varnode = pcode_op.getInput(0)
            if called_varnode is None or not called_varnode.isAddress():
                logging.error('ERROR: CALL, but not to address: {}'.format(pcode_op))
                continue
            # If the CALL is a format string function, save this callsite
            func_name = ghidra_analysis.flat_api.getFunctionAt(called_varnode.getAddress()).name
            if func_name in ghidra_analysis.format_string_function_names:
                call_sites.append(pcode_op)
    return call_sites