How to track stock cost basis through multiple splits, reverse splits and spin-offs

What is the best way to track cost basis for old stock that is classified as "non-covered" ( not tracked by stock broker holding stock).