WordPress filter that hook after each action/filter hook

In my wordpress site virus script added in footer on wp_footer action.

I try many techniques, but i cant find virus hook location.

Is there any wp action/filter, that hook after each action /filter hooked including hooked output data?

I mean, if some one hook

function abc(){
  echo "inside content";

I want this.

output: inside content
function ABC, file : foo.php

I am using this code, that only return list of hooks.

add_action('wp', function(){ 
      echo '<pre>';
      echo '</pre>';

Solutions Collecting From Web of "WordPress filter that hook after each action/filter hook"