Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bugs for big program #1310

Merged
merged 2 commits into from
Dec 31, 2023
Merged

Fix bugs for big program #1310

merged 2 commits into from
Dec 31, 2023

Conversation

bjjwwang
Copy link
Contributor

  1. in SVFStat.h.
typedef OrderedMap<std::string, u32_t> NUMStatMap;

The key type should be string, since const char* cannot support NUMStatMap["$KEYNAME"]

  1. in SVFIR2ItvExeState.cpp
    add SVFOtherType handler, since float/double is one of SVFOtherType, the intervalValue range of double/float is s32_t's range.

@yuleisui yuleisui merged commit 94bc3fb into SVF-tools:master Dec 31, 2023
3 checks passed
@@ -30,6 +30,8 @@
#ifndef SVF_SVFSTAT_H
#define SVF_SVFSTAT_H

#include <string>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to include the string header here? It would be good to put in the cpp file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants