I spent plenty of time understanding why changing constant in assembler leads to crashes of multiple tests. This is because we need to recalculate and store hashes of all changed functions in procedures.rs. Offsets of procedure hashes also stored in kernel_proc_offsets.masm file and there was no automated procedure to update them. This PR adds automatic generation of procedure hashes and offset files in build.rs.
I spent plenty of time understanding why changing constant in assembler leads to crashes of multiple tests. This is because we need to recalculate and store hashes of all changed functions in
procedures.rs
. Offsets of procedure hashes also stored inkernel_proc_offsets.masm
file and there was no automated procedure to update them. This PR adds automatic generation of procedure hashes and offset files inbuild.rs
.