Friday, July 3, 2020

Powerful New Tracing Tool: uftrace

The previous blog is confirmed by tracing command "openssl cms *".

This blog summarize the usage:

  1. apt install uftrace
  2. compile version 3.0.0-alpha4 openssl with flag -pg
  3. Trace files will be in ufrace.data/ folder
  4. Parse the output by:
    1. download the uftrace profile data to path/to/project/ufrace.data/, the cd to path/to/project and invoke: uftrace replay.
uftrace record --nest-libcall ../openssl-cmake/build/usr/local/bin/openssl cms -cades -sign -in assertion_store.json\
	-signer "rsa.signed_pub.pem"\
	-inkey rsa.pem\
	-outform DER -out signed_claim.p7s

No comments:

Post a Comment