Skip to content

cpast-v0.8.0

Compare
Choose a tag to compare
@rootCircle rootCircle released this 23 Feb 09:49
· 75 commits to main since this release
4b064ed

0.8.0 (2025-02-23)

Breaking

  • String modifier syntax now accepts three arguments, instead of two. New format: S[min,max,charset] (e.g., S[1,10,'cpast is awesome'])

clex_gen

  • Now, string modifier accepts escape characters as well like \n, \t, \r, \\, \', \", \0 \a, \b, \f and \v etc!
  • Breaking: Modified string modifier syntax to support minimum and maximum length constraints:
    • New format: S[min,max,charset] (e.g., S[10,10,@CH_UPPER@])
    • Old format: S[length,charset] is now deprecated
    • This change enables more precise string length control in pattern generation

clex_llm

  • Switched to Gemini2_0Flash model from Gemini1_0

cpast_cli

  • Support AI based clex generation using input format and constraints through cpast ai ....
    GEMINI_API_KEY="<gemini-api-key>" cpast ai --input-format="The first line contains an integer T (number of test cases). Each of the next T lines contains two integers N and M." --constraints="1 ≤ T ≤ 10\n1 ≤ N, M ≤ 10^5"

Full Changelog: cpast-v0.7.1...cpast-v0.8.0