You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: cmds.rb
    path of file: ./repos/rust-raspberrypi-OS-tutorials/20_timer_callbacks/tools/kernel_symbols_tool
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022-2023 A
    
def patch_symbol_data(kernel_elf, symbols_blob_path)
    symbols_blob = File.binread(symbols_blob_path)

    raise if symbols_blob.size > kernel_elf.kernel_symbols_section_size

    File.binwrite(kernel_elf.path, File.binread(symbols_blob_path),
                  kernel_elf.kernel_symbols_section_offset_in_file)
end