Embodiments of the present application provide a patching method and related equipment, the method comprising: generating a compilation information table in the compilation process of an original file, the original file being a WebAssembly binary format file, the compilation information table recording a function index of an original function, the original function being a function in the original file; generating a function correspondence table according to the compilation information table in the compilation process of a patch file, the patch file being a WebAssembly binary format file, the function correspondence table recording a correspondence between the original function and a patch function, the patch function being a function in the patch file; and replacing, in the loading process of the original file, a function address of the original function in a function index space with a function address of the patch function according to the function correspondence table, the function index space being generated in the loading process of the original file. With the embodiments of the present application, function-level replacement and update of a WebAssembly application using a patch can be achieved.