You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RMC compiles each Rust crate to a goto binary, and then uses the CBMC linker to link those binaries together. It is possible that the CBMC and Rust linkers may make different decisions, particularly in the case of either duplicated or missing symbols.
Likelihood:
We know of at least two regressions that fail due to missing functions at link time
We have a workaround for duplicated function symbols (due to inlining). This workaround appears to work for all known cases, but there may well be corner cases we have not yet encountered.
Linking is known to be broken in RMC in cases where one crate overrides another
Mitigation:
Alarm on CBMC warnings.
Path to soundness:
Develop a formal model of Rust linking, and confirm that CBMC linking is compatible.
Superseded: the MIR linker (default since fc43543, stable in b558eff) resolves Rust symbols in the compiler. goto-cc now only links --c-lib inputs. Reopen with a repro.
Activity
zhassan-aws commentedon Apr 19, 2022
May be incomplete, but there are no known soundness issues.
tedinski commentedon Nov 14, 2022
@danielsn With the new linker, is this still an issue?
feliperodri commentedon Nov 5, 2026
Superseded: the MIR linker (default since fc43543, stable in b558eff) resolves Rust symbols in the compiler. goto-cc now only links --c-lib inputs. Reopen with a repro.