]> git.saurik.com Git - cycript.git/blame - backtrack.sh
Instance's toPointer() should return as CFTypeRef.
[cycript.git] / backtrack.sh
CommitLineData
ee6c04ef 1#!/bin/bash
b900e1a4 2./apple-make.sh build-osx-i386
1cff1a90
JF
3echo
4echo "backup" $(grep -c '^State ' build.osx-i386/lex.backup)
5echo "states" $(grep '^static .* yy_accept\[' build.osx-i386/Scanner.cpp | sed -e 's/.*\[//;s/].*//') 3680
6echo "jammed" $(grep -F 'accepts: ['"$(grep 'jammed' build.osx-i386/Scanner.cpp -B 3 | head -n 1 | sed -e 's/:$//;s/.* //')"']' build.osx-i386/Scanner.output | sed -e 's/.* # //;s/ .*//')
7echo "failed" $(grep "^ jam-transitions: " build.osx-i386/lex.backup | grep -v ': EOF \[\(\]\| \\2\)' | wc -l)
8echo
9grep '^ jam-transitions: EOF \[ \\2' build.osx-i386/lex.backup -B 2 | grep $'^\t' | sort | uniq -c