public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "David F." <df7729@gmail.com>
To: devel@edk2.groups.io
Subject: Using debugger to debug UEFI application?
Date: Tue, 26 May 2020 00:31:34 -0700	[thread overview]
Message-ID: <PPp4.1590478294974862486.4otV@groups.io> (raw)

[-- Attachment #1: Type: text/plain, Size: 1155 bytes --]

Hi,

I just found the Intel UDK debugger and hopping to use it to debug my UEFI application.  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 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 Lenovo laptop sitting next to me, can I use this Intel UDK debugger to connect via USB crossover cable  and debug the application.  I don't want to spend a bunch of time to only find out you can't do that and need special hardware.  If not going to work then I'll have to spend time disassembling the application, injecting things in to the ippsEncodeLZ77DynamicHuff_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!!

[-- Attachment #2: Type: text/html, Size: 1224 bytes --]

             reply	other threads:[~2020-05-26  7:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-26  7:31 David F. [this message]
2020-05-27  0:00 ` [edk2-devel] Using debugger to debug UEFI application? Guomin Jiang
2020-05-27  0:25   ` Lee Fisher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PPp4.1590478294974862486.4otV@groups.io \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox