Bug 1152

Summary: add section to pseudo-code compiler's output that hashes the corresponding inputs and alerts the user if they changed
Product: Libre-SOC's first SoC Reporter: Jacob Lifshay <programmerjake>
Component: Source CodeAssignee: Jacob Lifshay <programmerjake>
Status: DEFERRED ---    
Severity: enhancement CC: libre-soc-bugs, programmerjake
Priority: ---    
Version: unspecified   
Hardware: PC   
OS: Linux   
See Also: https://bugs.libre-soc.org/show_bug.cgi?id=776
NLnet milestone: Future total budget (EUR) for completion of task and all subtasks: 0
budget (EUR) for this task, excluding subtasks' budget: 0 parent task for budget allocation:
child tasks for budget allocation: The table of payments (in EUR) for this task; TOML format:

Description Jacob Lifshay 2023-09-08 01:24:18 BST
multiple Libre-SOC members have been confused when the pseudo-code has changed (either through git pull or otherwise) and it no longer works as they expect.

The idea is simply that the pseudo-code compiler will also hash all relevant inputs (which should probably include the pseudo-code compiler's source code too) and output code that, at load time, reads those files again and compares their hashes to the known hashes and reports an error if they don't match, directing the user to rerun make.

note: David asked me to create this bug so ideas aren't lost