King's solo is based on G# locrian if I remember right.
Hanneman's begin with an arpeggiated Am7, played up an octave each time, beginning with A (6 stg) 5 fr. The tapping bit is 12-8-5-8-5 13-8-5-8-5, on the 2nd string, then again on the 1st string. The final bit is 10-5-7-8 on the 1st string, then up to the 22nd fret, a half-step at a time.