In reply to rakesh2learn:
It is unclear what you want to do. Are you want to know your overrides only or do you want to override something.
Which overrides are used for your testbench you know after the testbench was constructed and connected. This is in the end_elaboration_phase/start_of_simulation_phase of your test.
There you can execute
factory.print();
This prints you all overrides available.