@Test(timeout = 10000)
	public void testExcessiveExprLength() throws DWARFExpressionException {
		// Endless loop: nop, skip -1.
		DWARFExpression expr = evaluator.readExpr(
			new byte[] { (byte) DW_OP_nop, (byte) DW_OP_skip, (byte) 0xff, (byte) 0xff, });
		try {
			evaluator.evaluate(expr);
			fail(
				"DWARFExpressionEvaluator should have thrown an exception because of the length of the expression, " +
					"but you are probably not reading this message because junit can't get here because of the endless loop in the expr.");
		}
		catch (DWARFExpressionException dee) {
			// good
		}

	}
Test to ensure that endless loops or excessive runtime are prevented by
{@link DWARFExpressionEvaluator#setMaxStepCount(int) maxStepCount}

@throws IOException
Ghidra/Features/Base/src/test/java/ghidra/app/util/bin/format/dwarf/expression/DWARFExpressionEvaluatorTest.java