-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crit: parse data fields in files.img #144
Comments
Hmm, this will require some reworking of the marshaling and unmarshaling logic that we're using currently. We'll probably have to replace |
@rst0git if this issue is still on, can I work on this? |
@Parthiba-Hazra sure, please feel free to open a pull request! |
@rst0git is there any documentations for all types of constants ? -
|
|
@rst0git should we update the proto file for this or write our own logic .. also we are using I updated the sk-inet.proto like this -
|
@Parthiba-Hazra Unfortunately it is not possible to change the proto files. Those files are imported from CRIU and can only be changed in the CRIU repository. We just copy those files. |
@adrianreber ohh I see, then we have to change the unmarshal logic here. |
@rst0git I was using edit- another idea could be copy the structs(eg; |
The Go version of CRIT currently outputs raw data decoded from
files.img
. However, it would be more user-friendly if we map constants used in certain fields to human readable strings and decode the value used for IP address. The following example shows a comparison between the output of the Go and Python versions of CRIT:The text was updated successfully, but these errors were encountered: