OS exception support.
crack2.
add api_end.