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

I fixed some codes on Quick Start process #67

Merged
merged 2 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $ docker run -it --name elfconv-container elfconv-image
# You can test elfconv using `bin/elfconv.sh`
~/elfconv# cd bin
~/elfconv/bin# TARGET=wasi ./elfconv.sh /path/to/ELF # e.g. ../examples/eratosthenes_sieve/a.out
~/elfconv/bin# wasmedge exe.wasm # wasmedge is preinstalled
~/elfconv/bin# wasmtime exe.wasm # wasmtime is preinstalled
```
## Source code build
### 1. Dev Container
Expand Down
22 changes: 11 additions & 11 deletions backend/remill/include/remill/Arch/Runtime/Types.h
Original file line number Diff line number Diff line change
Expand Up @@ -971,51 +971,51 @@ struct IntegerType<size_t> : public SizeTEquivalent<sizeof(size_t)>::T {};

#if !COMPILING_WITH_GCC

inline uint8_t operator"" _u8(unsigned long long value) {
inline uint8_t operator""_u8(unsigned long long value) {
return static_cast<uint8_t>(value);
}

inline uint16_t operator"" _u16(unsigned long long value) {
inline uint16_t operator""_u16(unsigned long long value) {
return static_cast<uint16_t>(value);
}

inline uint32_t operator"" _u32(unsigned long long value) {
inline uint32_t operator""_u32(unsigned long long value) {
return static_cast<uint32_t>(value);
}

inline uint64_t operator"" _u64(unsigned long long value) {
inline uint64_t operator""_u64(unsigned long long value) {
return static_cast<uint64_t>(value);
}

inline uint64_t operator"" _addr_t(unsigned long long value) {
inline uint64_t operator""_addr_t(unsigned long long value) {
return static_cast<addr_t>(value);
}

# if !defined(REMILL_DISABLE_INT128)
inline uint128_t operator"" _u128(unsigned long long value) {
inline uint128_t operator""_u128(unsigned long long value) {
return static_cast<uint128_t>(value);
}
# endif


inline int8_t operator"" _s8(unsigned long long value) {
inline int8_t operator""_s8(unsigned long long value) {
return static_cast<int8_t>(value);
}

inline int16_t operator"" _s16(unsigned long long value) {
inline int16_t operator""_s16(unsigned long long value) {
return static_cast<int16_t>(value);
}

inline int32_t operator"" _s32(unsigned long long value) {
inline int32_t operator""_s32(unsigned long long value) {
return static_cast<int32_t>(value);
}

inline int64_t operator"" _s64(unsigned long long value) {
inline int64_t operator""_s64(unsigned long long value) {
return static_cast<int64_t>(value);
}

# if !defined(REMILL_DISABLE_INT128)
inline int128_t operator"" _s128(unsigned long long value) {
inline int128_t operator""_s128(unsigned long long value) {
return static_cast<int128_t>(value);
}
# endif
Expand Down