#46 varinfo ids and loadBinaryFile interaction

Bug
closed-fixed
nobody
5
2007-01-18
2006-08-29
No

Steps that may be problematic:

1) load a previously serialized CIL file using
loadBinaryFile
2) do some analysis that involves makeVarinfo or
mkCompInfo

the varinfo ids and compinfo ckeys of the fresh objects
can clash w/ those in the loaded file.

Discussion

  • Matt Harren

    Matt Harren - 2007-01-18
    • status: open --> closed-fixed
     
  • Matt Harren

    Matt Harren - 2007-01-18

    Logged In: YES
    user_id=1278428
    Originator: NO

    Thanks for the bug report.

    I have partially fixed this in the next release, by restoring nextGlobalVID and nextCompinfoKey based on values stored in the binary file. Therefore, loadBinaryFile should only be used first thing in the CIL process, before any calls to makeVarinfo or mkCompinfo. A more general solution would change the ids in the loaded file to avoid conflicts with existing varinfos and compinfos.

    -- Matt

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks