HexType
HexType copied to clipboard
Understand HexType docs :(
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,
Thanks for your interesting.
Did you use HexType's clang++ located in $BUILD_DIR/bin/clang++ (not default your machine's C++ compiler) ?
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/