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

Understand HexType docs :( #7

Open
malekremy opened this issue Jun 3, 2019 · 2 comments
Open

Understand HexType docs :( #7

malekremy opened this issue Jun 3, 2019 · 2 comments

Comments

@malekremy
Copy link

Hi @jys0710

I run command:

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

But, i don;t underestand what happen here:

. Run HexType

Use the create-clang-typeinfo option or copy the pre-made type info (in the HexType/etc/clang_type_info) into the HexType path as typeinfo.txt file name
Use HexType/scripts/remove_duplicated_line.py in order to remove duplicated lines when you create new type information file
$ $BUILD_DIR/bin/clang++ test.cc -fsanitize=hextype

i run :

$ clang++ -fsanitize=hextype sample.cpp
g++: error: unrecognized argument to -fsanitize= option: ‘hextype’

Thanks,

@jys0710
Copy link
Collaborator

jys0710 commented Jun 4, 2019

Thanks for your interesting.

Did you use HexType's clang++ located in $BUILD_DIR/bin/clang++ (not default your machine's C++ compiler) ?

@0xGSMonkey
Copy link

I am having a similar problem and I am trying to figure it out. I can't seem to find clang++ in the $BUILD_DIR/bin/

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

3 participants