Description
This test takes a number and attempts to determine whether it is prime by dividing it by each number less than it. For large enough prime integers, this calculation takes an excessive amount of time.
Metadata
- Base program: Apache Lucene
- Source Taint: FILE_CONTENTS
- Data Type: VOID_POINTER
- Data Flow: INDEX_ALIAS_1
- Control Flow: INTERPROCEDURAL_2
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.