1. A method for dynamic data segment discovery for instrumented code, the method comprising: populating a table with recorded potential data segments in program code while statically instrumenting the program code; executing the instrumented program code; determining during the execution of the instrumented program code whether or not each of the potential data segments in the table can be resolved by identifying a dynamic address for each recorded potential data segment, comparing the dynamic address to a pre-recorded offset and a combined pre-recorded offset and size for each potential data segment and marking each potential data segment as resolved if the dynamic address is greater than or equal to the offset and less than or equal to the combined offset and size; and, confirming in the table resolved ones of the recorded potential data segments, the confirming during execution of the program code shrinking the table leaving only unresolved references to be excluded during run-time of the program code so as to reduce a number of the potential data segments in the table.