Relationship between the trace and assembly instructions

Hi all,
Recently I’ve been capturing power traces for the Kyber algorithm and trying to analyze traces. I was wondering if it is possible to determine the assembly instruction corresponding to a point on the trace by the location of that point? Or is there a one-to-one correspondence between the points on the trace and the assembly instructions in the .lss file?

In most cases, you’ll just have to reason about which part is which based on things like the offset to the trigger. That being said, Husky has a really cool feature that you can use on targets with Arm Trace functionality called tracewhisperer. This is essentially an Arm Trace sniffer which allows you, among other things, to trigger based off of instructions and match points in the power trace up with functions/instructions. There’s a quick overview here: ChipWhisperer-Husky - NewAE Hardware Product Documentation, and some Jupyter notebooks here: DesignStartTrace/jupyter at 39dc9c9498493e0cc1cbe8a1de95808880c39c61 · newaetech/DesignStartTrace · GitHub.