support reading ans from sawfish

Signed-off-by: Bao Haojun <baohaojun@gmail.com>