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

Analysis results do not show lines of the source code. #11

Open
tanhuang01 opened this issue Jan 16, 2024 · 0 comments
Open

Analysis results do not show lines of the source code. #11

tanhuang01 opened this issue Jan 16, 2024 · 0 comments

Comments

@tanhuang01
Copy link

Hi @jys0710 :

I recently cloned and built HexType from the repository, and everything seemed to go smoothly. Here are the steps I followed:

$ git clone [email protected]:HexHive/HexType.git
$ sudo ./build.sh
$ export HEXTYPE_LOG_PATH="/tmp/hextype"

    
After setting everything up, I used HexType to compile a test file:

$ BUILD_DIR/bin/clang++ test.cc -fsanitize=hextype

    
This produced an executable a.out. However, when I ran the executable:

$ ./a.out

    
The output was different from what I expected, based on the descriptions in your paper. Here's what I got:

== HexType Type Confusion Report ==
3 4695655070575894917 9029972361605578882
./simple.out() [0x4051d9]
./simple.out(__type_casting_verification+0x351) [0x402c81]
./simple.out(main+0x80) [0x405b30]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fbf0e5bf0b3]
./simple.out(_start+0x2e) [0x4021ee]

    
I noticed that the output does not include the number of lines from the source file, as mentioned in your paper. Could you please advise if there's something I may have missed, or if there's an additional step I need to take to achieve the expected results?

Thank you very much for your assistance!

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

No branches or pull requests

1 participant