PkgCacheInspector.jl icon indicating copy to clipboard operation
PkgCacheInspector.jl copied to clipboard

Add support for decoding clone_targets

Open vchuravy opened this issue 2 years ago • 4 comments

julia> clone_targets("/home/vchuravy/.julia/compiled/v1.10/SnoopPrecompile/TcfDT_z6cWT.ji")
┌ Info: Target
│   name = "znver2"
│   flags = 0
│   feature_en =
│    44-element Vector{UInt8}:
│     0x03
│     0x32
│     0xd8
│     0x36
│        ⋮
│     0x00
│     0x00
│     0x00
│   feature_dis =
│    44-element Vector{UInt8}:
│     0x00
│     0x00
│     0x00
│     0x40
│        ⋮
│     0x00
│     0x00
│     0x00

vchuravy avatar Dec 05 '22 17:12 vchuravy

Codecov Report

Base: 94.87% // Head: 79.56% // Decreases project coverage by -15.30% :warning:

Coverage data is based on head (88b1957) compared to base (b9dc740). Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #3       +/-   ##
===========================================
- Coverage   94.87%   79.56%   -15.31%     
===========================================
  Files           1        1               
  Lines          78       93       +15     
===========================================
  Hits           74       74               
- Misses          4       19       +15     
Impacted Files Coverage Δ
src/PkgCacheInspector.jl 79.56% <0.00%> (-15.31%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Dec 05 '22 17:12 codecov[bot]

What's feature_en and feature_dis? Could those be spelled out more?

IanButterworth avatar Dec 05 '22 17:12 IanButterworth

I assume it's enabled and disabled?

staticfloat avatar Dec 05 '22 19:12 staticfloat

Yeah, right now it just matches the serialization code in processor.cpp. I don't know if that information is useful and we certainly don't have any pretty printing for it yet

vchuravy avatar Dec 05 '22 22:12 vchuravy

Added in https://github.com/timholy/PkgCacheInspector.jl/pull/23

IanButterworth avatar May 14 '24 14:05 IanButterworth