View Single Post
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#49
SWI prolog binary state file policy.plc was successfully decompiled into prolog source files. I also fixed jackbias problem and created new deb package for cssu-devel:
http://gitorious.org/community-ssu/policy-settings-rx51
http://maemo.merlin1991.at/cssu/comm...settings-rx51/

Scripts for decompiling binary SWI prolog state files are here:
https://gitorious.org/community-ssu/...plc-predicates
https://gitorious.org/community-ssu/.../plc-decompile

Note that for decompiling you need same SWI prolog version which was used for compiling file. You can find prolog version in first 10 lines in binary file. In binary plc file is line:

Code:
exec ${SWIPL-/usr/lib/swipl-5.6.50/bin/armel/swipl} -x "$0" -- "$@"
So this means that our policy.plc was compiled by SWI prolog version 5.6.50
 

The Following 5 Users Say Thank You to pali For This Useful Post: