Giter Club home page Giter Club logo

Comments (5)

yuleisui avatar yuleisui commented on June 29, 2024

@shuangxiangkan could you take a look at this name matching case? We need to match using general rules?

from svf.

yuleisui avatar yuleisui commented on June 29, 2024

@DesNevermore Did you use the same clang to compile your application code and the extapi.c? If so, they should be the same name either @"fopen" or @"\01_fopen", but not mixed.

from svf.

DesNevermore avatar DesNevermore commented on June 29, 2024

@yuleisui Yes, I use the clang version 14.0.6. The compile command is: clang -w -S -c -emit-llvm -fno-discard-value-names -Xclang -disable-O0-optnone -o ./extapi.bc ./extapi.c for my app code and extapi.c. Just now I retried it, they generated "@fopen" and "@\01_fopen". I don't think there is a guarantee that the compiler will generate the same name using the same clang, since "fopen" in app code is a lib call, while the one in extapi.c is a self-defined function.

from svf.

yuleisui avatar yuleisui commented on June 29, 2024

@shuangxiangkan will fix this shortly.

from svf.

shuangxiangkan avatar shuangxiangkan commented on June 29, 2024

@DesNevermore
This issue has been fixed in #1393.

from svf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.