Following is the circuit of an existing design:
As in normal buck regulators, feedback path is R1 and R2.
Apart from that their is an additional differential voltage feedback path. This path will be active once the voltage across the sense resistor is enough to give the feedback to turn-on the diode.
Could you suggest how to calculate phase and gain margin?