I'd like to publish a C library project that I have written on GitHub and license it under GPL, so I am doing some research on open source licenses and some confusion comes to mind.
Let's say Evil Corps uses and modifies my code in a commercial software without disclosing their source. I have come across their software, and realized that one feature it has is very similar to what my library does. Upon my inquiry, they deny that they have used my code but also refuse to show me their source.
How would I have to proceed in order to enforce the GPL? How is it done in the past to prove that the GPL is violated?