False positive from scan.xamarin.com for sqllite component?

Hi,

I have a library that I link against the SQLite component in the component store and it gives me a pile of problems with p/invokes. Is it me or is this correct?

Posts

  • AlexSotoAlexSoto MXXamarin Team Xamurai

    Hi, could you be a more specific about the errors/issues you are having??

    Alex

  • nodoidnodoid GBMember, Beta ✭✭✭

    if i run the sqlite component through scan.xamarin.com, I'm getting these errors

    http://scan.xamarin.com/Home/Report?scanId=ac00cbe0-cdc3-4758-8c73-31efc1bb9f7d

    I have a feeling the scanner is giving a false positive for the p/invokes

  • nodoidnodoid GBMember, Beta ✭✭✭

    I realise that the version scanned is the iOS version so the droid/win mob/win store data for those will be rubbish ;)

  • JosephHillJosephHill USForum Administrator, Xamarin Team Xamurai

    Hi Paul

    The tool doesn't keep a list of P/Invokes. It just flags any P/Invoke in the assembly as a method that the developer needs to ensure that the native method is available on the target platform. Since the tool is dumb in this regard, we mark those issues with a warning flag, rather than putting a red X on them (so it's not technically a false positive).

    Hope that helps

    Joseph

  • nodoidnodoid GBMember, Beta ✭✭✭

    Thanks for that - makes things much clearer to me :)

Sign In or Register to comment.