Ticket #33560

Better test cases for IDSgrep user-defined predicates

Open Date: 2014-03-24 05:27 Last Update: 2014-03-24 05:27

Reporter:
Owner:
Status:
Open [Owner assigned]
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

IDSgrep is capable of reading, and detecting errors in, some very weird TTF/OTF cmap tables - for instance, those which contain invalid pointers despite having valid checksums; mapping tables in Microsoft-only format but describing Macintosh-only encodings; and files in a byte-swapped variant of TTF/OTF format (not as simple as just byte-swapping the whole file uniformly, because of differing field sizes). A lot of code in userpred.c will only execute in these weird cases, and is thus very hard to test. Ideally, we would have custom-made weird TTF/OTF files to get test coverage on that code; but building those will be a disproportionate amount of work.

Ticket History (1/1 Histories)

2014-03-24 05:27 Updated by: mskala
  • New Ticket "Better test cases for IDSgrep user-defined predicates" created

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login