coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Ralf Jung <jung AT mpi-sws.org>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk)
- Date: Fri, 19 Aug 2016 19:08:28 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jung AT mpi-sws.org; spf=Pass smtp.mailfrom=jung AT mpi-sws.org; spf=None smtp.helo=postmaster AT hera.mpi-klsb.mpg.de
- Ironport-phdr: 9a23:3+lJxhW4ek/8yaDjFXu8EtrvAuTV8LGtZVwlr6E/grcLSJyIuqrYZhCOt8tkgFKBZ4jH8fUM07OQ6PG5HzZeqs/Z7DhCKMUKDE5dz51O3kQJO42sMQXDNvnkbig3ToxpdWRO2DWFC3VTA9v0fFbIo3e/vnY4ExT7MhdpdKyuQtaBx/q+2+36wZDPeQIA3GP7OuIrak/o5lyJ6oFW2dIkcfdpjEOR4zNhQKd//StQP1WdnhLxtI+b3aVI1GBugc8n7NNKSq7gfq41HvRyBTUiNH0ptoWw7UGQBVjH2nxJWWIP1xFMHgLt7RfgX563vDGpmPB63XygNMn4BZIpXzvqu6V2ThDAjT8GciUm6yfQkMMm3/ETmw6ouxEqm92cW4qSLvcrJq4=
Hi,
[Warning: digression ahead.]
On 19.08.2016 18:37, Jonathan Leivent wrote:
> For coqchk the issue is that it checks module "inclusion", not actual
> definition usage. Hence it will report that axioms are "present' when
> Print Assumptions (even without plugin misbehavior) does not. But, it
> doesn't load plugins, hence is safe from "plugin misbehavior".
Is this actually true? Sure coqchk does not load plugins, but that still
leaves the question open of what coqchk is actually checking. As far as
I understand, it checks the .vo files, so if a plugin manages to make
"good" .vo files from "bad" .v files, coqchk would not catch that. For
example, the plugin could alter the statement that has been proven such
that the .vo file contains a valid proof of *some* statement (but not
the one the user wants), and the .v files contains an *invalid* proof
(messed with by the plugin) of the statement the user wants.
It's not like I have any thoughts on how to remedy this, but I feel like
saying "malicious plugins can't harm you if you use coqchk" isn't
actually true. Admittedly, it is very unlikely for an accidental bug in
a plugin to trigger this.
Or maybe this falls into the same category as "Definition False :=
True", though "don't Import/Export any modules / fully qualify
everything" doesn't help if the plugin is messing with the parser and
pretty-printer.
Kind regards,
Ralf
- Re: [Coq-Club] Axioms reported by coqchk, (continued)
- Re: [Coq-Club] Axioms reported by coqchk, Matthieu Sozeau, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Ralf Jung, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Pierre-Marie Pédrot, 08/19/2016
- RE: [Coq-Club] Axioms reported by coqchk, Soegtrop, Michael, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Guillaume Melquiond, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Robbert Krebbers, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Guillaume Melquiond, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Robbert Krebbers, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Ralf Jung, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Robbert Krebbers, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Jonathan Leivent, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Robbert Krebbers, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Jonathan Leivent, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Robbert Krebbers, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Jonathan Leivent, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Guillaume Melquiond, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Robbert Krebbers, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Ralf Jung, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jonathan Leivent, 08/19/2016
Archive powered by MHonArc 2.6.18.