Skip to content

Commit a5318a5

Browse files
committed
Update onlinecompilers.md
1 parent 1bb2c86 commit a5318a5

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

docs/tools/onlinecompilers.md

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -96,42 +96,3 @@ int main()
9696
}
9797
}
9898
```
99-
100-
101-
### cee.studio
102-
[cee.studio](https://www.cee.studio/) は、C, C++ プログラムを実行して、セグメンテーション違反などメモリに関する問題が発生したときに、その箇所と原因をわかりやすく表示する機能を持つオンラインコンパイラです。バッファオーバーラン、Null ポインタの参照外し、未初期化変数の利用などの問題を明らかにします。オンライン IDE で「Run in Guarrail」モードで実行することでメモリのデバッグを行えます。
103-
104-
入力例
105-
```C++
106-
#include <iostream>
107-
108-
int main()
109-
{
110-
const char s[] = { 'A', 'B', 'C' };
111-
112-
std::cout << s << '\n';
113-
}
114-
```
115-
116-
出力例
117-
```
118-
Memory access error: reading from the outside of a memory space; abort execution.
119-
# Reading 4 bytes from 0x981cdd4 will read undefined values.
120-
#
121-
# The memory-space-to-be-read (start:0x981cdd4, size:3 bytes) is bound to 's' at
122-
# file:/prog.cc::5, 0
123-
#
124-
# 0x981cdd4 0x981cdd6
125-
# +------------------------------+
126-
# | the memory-space-to-be-read |......
127-
# +------------------------------+
128-
# ^~~~~~~~~~
129-
# the read starts at the memory-space begin.
130-
#
131-
# Stack trace (most recent call first) of the read.
132-
# [0] file:/musl-1.1.10/src/string/strlen.c::91, 3
133-
# [1] unknown_location (report this ::244)
134-
# [2] file:/prog.cc::7, 5
135-
# [3] [libc-start-main]
136-
Segmentation fault
137-
```

0 commit comments

Comments
 (0)