Commit 63ec64f
committed
Merge branch 'Assert string ptrs in-bounds' into blead
There are a bunch of functions that are passed pointers to two positions
in a string. These commits allow you to declare these in embed.fnc, and
have an assert like (s < e) generated that is automatically placed in
the PERL_ARGS_ASSERT for the function. Many entries in embed.fnc are
changed to use this new capability.
This is extended for functions where it should instead be assert(s <= e)
and assert(s <= cur)9 files changed
+617
-355
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
623 | | - | |
| 623 | + | |
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2963 | 2963 | | |
2964 | 2964 | | |
2965 | 2965 | | |
2966 | | - | |
2967 | 2966 | | |
2968 | 2967 | | |
2969 | 2968 | | |
| |||
3031 | 3030 | | |
3032 | 3031 | | |
3033 | 3032 | | |
3034 | | - | |
3035 | | - | |
3036 | 3033 | | |
3037 | 3034 | | |
3038 | 3035 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
630 | | - | |
631 | 630 | | |
632 | 631 | | |
633 | 632 | | |
| |||
700 | 699 | | |
701 | 700 | | |
702 | 701 | | |
703 | | - | |
704 | 702 | | |
705 | 703 | | |
706 | 704 | | |
| |||
777 | 775 | | |
778 | 776 | | |
779 | 777 | | |
780 | | - | |
781 | 778 | | |
782 | 779 | | |
783 | 780 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1887 | 1887 | | |
1888 | 1888 | | |
1889 | 1889 | | |
1890 | | - | |
1891 | 1890 | | |
1892 | 1891 | | |
1893 | 1892 | | |
| |||
2855 | 2854 | | |
2856 | 2855 | | |
2857 | 2856 | | |
2858 | | - | |
2859 | 2857 | | |
2860 | 2858 | | |
2861 | 2859 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
728 | | - | |
729 | 728 | | |
730 | 729 | | |
731 | 730 | | |
| |||
755 | 754 | | |
756 | 755 | | |
757 | 756 | | |
| 757 | + | |
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
| |||
840 | 840 | | |
841 | 841 | | |
842 | 842 | | |
843 | | - | |
844 | 843 | | |
845 | 844 | | |
846 | 845 | | |
| |||
4245 | 4244 | | |
4246 | 4245 | | |
4247 | 4246 | | |
4248 | | - | |
4249 | 4247 | | |
4250 | 4248 | | |
4251 | 4249 | | |
| |||
4280 | 4278 | | |
4281 | 4279 | | |
4282 | 4280 | | |
4283 | | - | |
4284 | 4281 | | |
4285 | 4282 | | |
4286 | 4283 | | |
| |||
4326 | 4323 | | |
4327 | 4324 | | |
4328 | 4325 | | |
4329 | | - | |
4330 | 4326 | | |
4331 | 4327 | | |
4332 | 4328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | 622 | | |
626 | 623 | | |
627 | 624 | | |
| |||
718 | 715 | | |
719 | 716 | | |
720 | 717 | | |
721 | | - | |
722 | | - | |
723 | 718 | | |
724 | 719 | | |
725 | 720 | | |
| |||
1100 | 1095 | | |
1101 | 1096 | | |
1102 | 1097 | | |
1103 | | - | |
1104 | 1098 | | |
1105 | 1099 | | |
1106 | 1100 | | |
| |||
0 commit comments