Commit 910bc34
Port model generation code from KEVM into APRFailureInfo (runtimeverification/pyk#604)
I realized we still weren't using the new `APRFailureInfo` class to
handle the printing of failure info in KEVM. And since that has been
added @palinatolmach added counterexample/model printing to the failure
info code in KEVM. Since this code is not KEVM-specific, I thought we
should port that code over to the APRFailureInfo class to support
switching over to using this class in KEVM.
Also refactors the existing fields of `APRFailureInfo` a bit to reduce
large nested types.
---------
Co-authored-by: devops <[email protected]>1 parent a44d29e commit 910bc34
File tree
5 files changed
+82
-26
lines changed- pyk
- package
- src
- pyk/proof
- tests
- integration/kcfg
- unit
5 files changed
+82
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
781 | 780 | | |
782 | 781 | | |
783 | 782 | | |
784 | | - | |
785 | 783 | | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
786 | 788 | | |
787 | | - | |
788 | | - | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
789 | 798 | | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
790 | 804 | | |
791 | 805 | | |
792 | | - | |
| 806 | + | |
793 | 807 | | |
794 | 808 | | |
795 | | - | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
796 | 813 | | |
797 | 814 | | |
798 | 815 | | |
799 | 816 | | |
800 | 817 | | |
801 | 818 | | |
802 | 819 | | |
803 | | - | |
804 | | - | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
805 | 838 | | |
806 | 839 | | |
807 | 840 | | |
| |||
819 | 852 | | |
820 | 853 | | |
821 | 854 | | |
822 | | - | |
823 | | - | |
824 | | - | |
825 | | - | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
826 | 858 | | |
827 | 859 | | |
828 | 860 | | |
| |||
832 | 864 | | |
833 | 865 | | |
834 | 866 | | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
835 | 874 | | |
836 | 875 | | |
837 | 876 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1033 | 1033 | | |
1034 | 1034 | | |
1035 | 1035 | | |
1036 | | - | |
| 1036 | + | |
1037 | 1037 | | |
1038 | 1038 | | |
1039 | 1039 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
| 273 | + | |
282 | 274 | | |
283 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
284 | 298 | | |
285 | 299 | | |
286 | 300 | | |
| |||
295 | 309 | | |
296 | 310 | | |
297 | 311 | | |
| 312 | + | |
298 | 313 | | |
299 | 314 | | |
300 | 315 | | |
301 | 316 | | |
302 | 317 | | |
303 | 318 | | |
304 | 319 | | |
| 320 | + | |
| 321 | + | |
305 | 322 | | |
306 | 323 | | |
307 | 324 | | |
| |||
0 commit comments