Menu

7zg switch "-i#7zMapXXXX:YY:7zEventZZZZ"

tetosan
2024-04-02
2024-04-03
  • tetosan

    tetosan - 2024-04-02

    Hi all,
    I would like to know more about the goal of the 7zg switch "-i#7zMapXXXX:YY:7zEventZZZZ". I have seen this topic in a couple of threads in the forum but still it is not clear for me. I have also checked the documentation and found nothing about it.

    My questions are:

    • 7zMapXXXX: I understand it creates a memory mapping and write file names to that memory mapping, Those file names will be added to the .7z archive. Is that correct? and what the XXXX refers to? any possibility to see what are those file names? dumping memory?
    • YY: What does it refer to?
    • 7zEventZZZZ: a bit confused with this one. ZZZZ refers to 7zip internal event ID or something else? how to know what such event is?

    Thanks for the feedback
    Best regards.

     
  • Igor Pavlov

    Igor Pavlov - 2024-04-02

    xxxx and zzzz are random numbers.
    7zEvent is event that callee sends back to caller, and caller closes the map.
    YY is size of data in map.
    data contains utf-16 characters:

    0 - it's marker (UTF-16 in WIN32)
    list of utf-16 paths
    
     

    Last edit: Igor Pavlov 2024-04-02
  • tetosan

    tetosan - 2024-04-03

    Thanks for the fast response, Igor.
    Any chance to see such filename list?
    Thanks in advance,
    Best regards.

     
  • Igor Pavlov

    Igor Pavlov - 2024-04-03

    data in map is simple:

    0
    path1
    path2
    path3
    
     
  • tetosan

    tetosan - 2024-04-03

    ok, thanks for the feedback. Very appreciated.

     

Log in to post a comment.

MongoDB Logo MongoDB