Skip to content

Commit

Permalink
Merge pull request #67 from LeeJU0912/leeju0912
Browse files Browse the repository at this point in the history
I fixed some codes on Quick Start process
  • Loading branch information
yomaytk authored Nov 22, 2024
2 parents 5e19537 + cda6ed4 commit b248374
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
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

0 comments on commit b248374

Please sign in to comment.