Is there a script to collect all hooks and filters provided by a plugin?

Is there a script to collect all hooks and filters provided by a plugin?