From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Using debugger to debug UEFI application? To: devel@edk2.groups.io From: "David F." X-Originating-Location: Las Vegas, Nevada, US (72.203.45.155) X-Originating-Platform: Windows Firefox 76 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 26 May 2020 00:31:34 -0700 Message-ID: Content-Type: multipart/alternative; boundary="7ok8ZEBxN4irSN1fv7ro" --7ok8ZEBxN4irSN1fv7ro Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, I just found the Intel UDK debugger and hopping to use it to debug my UEFI= application.=C2=A0 Basically, the function ippsEncodeLZ77DynamicHuff_8u in= Intel IPP 7 (tried 7.1 as well) used in my application will hang if secure= boot is enabled on most systems (disabled runs fine - someone with vmware = workstation 15 sees same thing as physical system - I can't enable vmware s= ecure boot because not running system in UEFI mode) - the source is shared = with dos/linux/windows and all those work fine.=C2=A0 I'm not sure why it h= angs in that case, exception? stack? nothing I tried to do like force the s= tack size helped. So using this Lenovo laptop sitting next to me, can I use this Intel UDK d= ebugger to connect via USB crossover cable=C2=A0 and debug the application.= = =C2=A0 I don't want to spend a bunch of time to only find out you can't do= that and need special hardware.=C2=A0 If not going to work then I'll have = to spend time disassembling the application, injecting things in to the ipp= sEncodeLZ77DynamicHuff_8u to see what' up (a lot more work). Anyone feel free to chime in on what you think may be causing a problem wh= en secure boot is enabled? TIA!! --7ok8ZEBxN4irSN1fv7ro Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hi,

I just found the Intel UDK debugger and hopping to use it= to debug my UEFI application.  Basically, the function ippsEncodeLZ77= DynamicHuff_8u in Intel IPP 7 (tried 7.1 as well) used in my application wi= ll hang if secure boot is enabled on most systems (disabled runs fine - som= eone with vmware workstation 15 sees same thing as physical system - I can'= t enable vmware secure boot because not running system in UEFI mode) - the = source is shared with dos/linux/windows and all those work fine.  I'm = not sure why it hangs in that case, exception? stack? nothing I tried to do= like force the stack size helped.  

So using this Le= novo laptop sitting next to me, can I use this Intel UDK debugger to connec= t via USB crossover cable  and debug the application.  I don't wa= nt to spend a bunch of time to only find out you can't do that and need spe= cial hardware.  If not going to work then I'll have to spend time disa= ssembling the application, injecting things in to the ippsEncodeLZ77Dynamic= Huff_8u to see what' up (a lot more work).

Anyone feel free to chime in on what you think may be causing a problem= when secure boot is enabled?

TIA!!

--7ok8ZEBxN4irSN1fv7ro--