public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Guomin Jiang" <guomin.jiang@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"df7729@gmail.com" <df7729@gmail.com>
Subject: Re: [edk2-devel] Using debugger to debug UEFI application?
Date: Wed, 27 May 2020 00:00:17 +0000	[thread overview]
Message-ID: <DM6PR11MB295524A3961853B6C8C1B76A9DB10@DM6PR11MB2955.namprd11.prod.outlook.com> (raw)
In-Reply-To: <PPp4.1590478294974862486.4otV@groups.io>

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

I will debug the UEFI application without Secure Boot in this case.
Any specific reason that force you debug in Secure Boot environment?

From you comment, it is need that figure out why hang in ippsEncodeLZ77DynamicHuff_8u function, I am sorry that I have no knowledge about the module and the function.

Best Regards
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of David F.
Sent: Tuesday, May 26, 2020 3:32 PM
To: devel@edk2.groups.io
Subject: [edk2-devel] Using debugger to debug UEFI application?


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: 4409 bytes --]

  reply	other threads:[~2020-05-27  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-26  7:31 Using debugger to debug UEFI application? David F.
2020-05-27  0:00 ` Guomin Jiang [this message]
2020-05-27  0:25   ` [edk2-devel] " 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=DM6PR11MB295524A3961853B6C8C1B76A9DB10@DM6PR11MB2955.namprd11.prod.outlook.com \
    --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