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
<text:ptext:style-name="Standard">I experimented with different approaches to creating the output after parsing.
567
567
I tried printing directly to <text:spantext:style-name="Source_20_Text">stdout</text:span>, and even played with different
568
568
buffering settings. None of those seemed to work well, and all were slower
569
-
than using the <text:spantext:style-name="Source_20_Text">d_string</text:span> approach (formerly call <text:spantext:style-name="Source_20_Text">GString</text:span> in MMD 5).</text:p>
569
+
than using the <text:spantext:style-name="Source_20_Text">d_string</text:span> approach (formerly called <text:spantext:style-name="Source_20_Text">GString</text:span> in MMD 5).</text:p>
<text:ptext:style-name="Standard">I was not familiar with the concept of <text:axlink:type="simple"xlink:href="#fuzztesting">Fuzz Testing</text:a>
688
-
(https://en.wikipedia.org/wiki/Fuzzing) until a user mentioned something about
689
-
it to me a year or two ago. I had never used it before, but it seemed like a
690
-
good idea. I implement it in two ways.</text:p>
687
+
<text:ptext:style-name="Standard">I was not familiar with the concept of
688
+
<text:axlink:type="simple"xlink:href="https://en.wikipedia.org/wiki/Fuzzing">Fuzz Testing</text:a> until a user mentioned
689
+
something about it to me a year or two ago. I had never used it before, but
690
+
it seemed like a good idea. I implemented it in two ways.</text:p>
691
691
692
692
<text:ptext:style-name="Standard">The first is that I created a simplified version of the line parser that
693
693
simply accepts various combinations of line type identifiers to see if they
@@ -702,13 +702,13 @@ several combinations of lines that did not pass.</text:p>
702
702
<text:ptext:style-name="Standard"><text:spantext:style-name="MMD-Bold">NOTE</text:span>: This does not verify accurate parsing, simply that the parser does
703
703
not crash by an unacceptable combination of lines.</text:p>
704
704
705
-
<text:ptext:style-name="Standard">The second form of fuzz testing I have started using more recently. This is
706
-
using the <text:axlink:type="simple"xlink:href="http://lcamtuf.coredump.cx/afl/">American fuzzy lop</text:a> program to try
707
-
to find text input that crashes MMD. This works by taking sample input (e.g.
708
-
files from the test suite), modifying them slightly, and trying the modified
705
+
<text:ptext:style-name="Standard">The second form of fuzz testing I started using later. This is using the
706
+
<text:axlink:type="simple"xlink:href="http://lcamtuf.coredump.cx/afl/">American fuzzy lop</text:a> program to try to find
707
+
text input that crashes MMD. This works by taking sample input (e.g. files
708
+
from the test suite), modifying them slightly, and trying the modified
709
709
versions. Do this over and over and over, and some interesting edge cases are
710
710
sometimes identified. I have found some interesting edge cases this way.
0 commit comments