Changes

Jump to: navigation, search

CRIT

289 bytes added, 12:20, 7 February 2015
Convert images to JSON and back: refresh example and use --pretty
The output file is structured in the following way.
With Without "--format rawpretty":
<pre>
{ "magic" : "FOO", "entries" : [{"foo": "bar", "bar": "foo", "extra": "abc"}, {"foo": "bar", "bar" : "foo", "extra" : "abc"} ]}
</pre>
With "--format nicepretty"(default for stdout):
<pre>
{
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
<b>Example("crit decode -i core-207005679.img--pretty")</b>
<div class="mw-collapsible-content">
<pre>
},
&quot;xmm_space&quot;: [
1953064751,
1769104175,
1702113141,
1664054387,
0,
4278190080,
4294967295,
4294967295,
1701145715,
3219568,
0,
0,
0,
0,
4294901760, 25533,
0,
792358505,
65,
0,
2177144037049520, 0, 37049632, 0, 0, 0, 0, 0,
0,
21771552,
0,
0,
0,
0,
4278190080,
4294967295,
4294967040,
4294967295,
0,
0,
0,
0,
4278190080,
4294967040,
4294967295,
0,
0,
0,
4294901760,
0,
0,
&quot;clear_tid_addr&quot;: 0,
&quot;gpregs&quot;: {
&quot;gs&quot;: 0&quot;0x0&quot;, &quot;ip&quot;: 140137968588056&quot;0x7f172cf1ea04&quot;, &quot;cx&quot;: 18446744073709551615&quot;0xffffffffffffffff&quot;, &quot;cs&quot;: 51&quot;0x33&quot;, &quot;ax&quot;: 61&quot;0x38&quot;, &quot;orig_ax&quot;: 61&quot;0x38&quot;, &quot;di&quot;: 18446744073709551615&quot;0x1200011&quot;, &quot;es&quot;: 0&quot;0x0&quot;, &quot;gs_base&quot;: 0&quot;0x0&quot;, &quot;r14&quot;: 0&quot;0x0&quot;, &quot;r15&quot;: 4294967295&quot;0x2355e00&quot;, &quot;r12&quot;: 21789168&quot;0x7ffffdbf74f0&quot;, &quot;r13&quot;: 0&quot;0x0&quot;, &quot;r10&quot;: 0&quot;0x7f172d83d9d0&quot;, &quot;r11&quot;: 582&quot;0x246&quot;, &quot;fs_base&quot;: 140137978173184&quot;0x7f172d83d700&quot;, &quot;bp&quot;: 2560&quot;0x7ffffdbf7530&quot;, &quot;dx&quot;: 0&quot;0x0&quot;, &quot;bx&quot;: 0&quot;0x0&quot;, &quot;ds&quot;: 0&quot;0x0&quot;, &quot;ss&quot;: 43&quot;0x2b&quot;, &quot;sp&quot;: 140736135950616&quot;0x7ffffdbf74f0&quot;, &quot;r8&quot;: 21789168&quot;0x0&quot;, &quot;r9&quot;: 0&quot;0x0&quot;, &quot;fs&quot;: 0&quot;0x0&quot;, &quot;si&quot;: 140736135950656&quot;0x0&quot;, &quot;flags&quot;: 582&quot;0x246&quot;
}
},
&quot;cg_set&quot;: 1,
&quot;signals_s&quot;: {},
&quot;blk_sigset&quot;: 65536&quot;0x10002&quot;,
&quot;exit_code&quot;: 0,
&quot;rlimits&quot;: {
},
{
&quot;max&quot;: 6284562844, &quot;cur&quot;: 6284562844
},
{
},
{
&quot;max&quot;: 6284562844, &quot;cur&quot;: 6284562844
},
{
84
edits

Navigation menu