Skip to content

Initial sanity check failed (Class x inherits from y at offsets a and b) #287

@pawelktk

Description

@pawelktk

I have the following problem at the ooprolog stage while analyzing the Guild 2 game binary (6.8 MiB):

tail ooprog.log

reasonForwardAsManyTimesAsPossible
Starting reasonForward.
reasonMergeClasses_K(0x9abb1c, 0x9aacec, 0x735f30).
reasonMergeClasses_K(0x9aacec, 0x9abb1c, 0x701450).
reasonForwardAsManyTimesAsPossible complete.
Entering stage 'Initial reasoning complete'.
Consistency checks failed.
Class 0x9edbdc inherits from 0x9f99cc at offsets 0 and 0x70
Initial sanity check failed, indicating the OO rules are incorrect.
Please report this failure to the Pharos developers!

Container version

seipharos/pharos:latest
Digest: sha256:eb35bcecb2f84f907d5506bc2e240768267dca2f396b2f79ff04dcd37f9b8839

Options

partition --serialize=ooprog.ser --maximum-memory=1280000 --per-function-maximum-memory=200 --per-function-maximum-memory=200 GuildII.exe

ooanalyzer --serialize=ooprog.ser --maximum-memory 1280000 --prolog-facts=ooprog-facts.pl --per-function-timeout=90 --per-function-maximum-memory=200 --threads=16 GuildII.exe

ooprolog --facts ooprog-facts.pl --results ooprog-results.pl --log-level=6 >ooprog.log

Files

Source binary

Serialized

Ooanalyzer facts

ooprog.log (loglevel=6, zipped)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions