Bug 1152 - add section to pseudo-code compiler's output that hashes the corresponding inputs and alerts the user if they changed
Summary: add section to pseudo-code compiler's output that hashes the corresponding in...
Status: DEFERRED
Alias: None
Product: Libre-SOC's first SoC
Classification: Unclassified
Component: Source Code (show other bugs)
Version: unspecified
Hardware: PC Linux
: --- enhancement
Assignee: Jacob Lifshay
URL:
Depends on:
Blocks:
 
Reported: 2023-09-08 01:24 BST by Jacob Lifshay
Modified: 2023-09-08 01:24 BST (History)
2 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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