사용
- 3.1. 파일을 편집하려면
- 3.2. 파일을 저장하려면
- 3.3. To Revert to the Last Saved Version of a File
- 3.4. 파일에서 데이터를 찾으려면
- 3.5. To Perform an Advanced Find
- 3.6. To Add Search Criteria
- 3.7. To Remove Search Criteria
- 3.8. 파일에서 데이터를 찾아 바꾸려면
- 3.9. 파일에 대한 보기를 추가하거나 제거하려면
- 3.10. To Change the Data Group Type
- 3.11. GHex에 표시된 내용을 HTML로 내보내려면
- 3.12. 문자 테이블을 보려면
- 3.13. 데이터 변환을 보려면
- 3.14. To Show or Hide the Type Conversion Dialog
- 3.15. 파일을 인쇄하려면
3.1. 파일을 편집하려면
파일을 편집하려면 다음 단계를 수행합니다.
-
파일의 16진수 보기 또는 ASCII 보기를 클릭합니다. 커서가 활성화되어 있는 보기에는 전체 커서가 표시됩니다. 커서가 활성화되어 있지 않은 보기에는 커서의 윤곽만 표시됩니다.
-
다음 방법 중 하나를 사용하여 커서를 파일 주변으로 이동시킵니다.
- Use the scrollbar on the window or the arrow keys on the keyboard to scroll through the file.
- 을 선택하고 커서 오프셋을 10진수 또는 16진수 값으로 입력한 다음 을 클릭합니다. 16진수 값은 0x 다음에 오프셋을 지정하는 형식이어야 합니다(예: 0x3).
-
Edit the ASCII format in the same way you edit a normal text file. To edit the hexadecimal format, use the values 0 to 9 and a to f.
To insert data and not overwrite existing data, choose
.To cut, copy, and paste data, choose
, , and .To undo an edit, choose Maximum number of undo levels setting in the 4.1항 ― 편집 tabbed section of the Preferences dialog.
. To redo an edit, choose . The number of previous edits that you can undo is determined by the3.2. 파일을 저장하려면
다음과 같은 방법으로 파일을 저장할 수 있습니다.
- 현재 파일에 대한 변경 내용을 저장하려면 을 선택합니다.
- 현재 파일을 새 파일 이름으로 저장하려면 버퍼를 다른 이름으로 저장할 파일 선택 대화 상자에 파일 이름을 입력한 다음 을 클릭합니다. 을 선택합니다.
3.3. To Revert to the Last Saved Version of a File
To revert to the last version of the current file that you saved and undo all of the edits that you made to the file since you last saved the file, choose Question dialog.
, then click in the3.4. 파일에서 데이터를 찾으려면
파일에서 16진수 또는 ASCII 문자열을 검색하려면 다음 단계를 수행합니다.
-
를 선택합니다.
-
데이터 찾기 대화 상자에서 다음 옵션 중 하나를 선택합니다.
- 16진수 데이터 찾기
- ASCII 데이터 찾기
-
찾을 문자열을 입력합니다.
-
동일한 다음 문자열을 찾으려면
를 클릭합니다. -
동일한 이전 문자열을 찾으려면
를 클릭합니다. -
Click Find Data dialog.
to close the
3.5. To Perform an Advanced Find
To perform an advanced find, perform the following steps:
- Choose .
- In the Find Data dialog, select the required search criteria. For information about how to add new search criteria, see 3.6항 ― To Add Search Criteria.
- 동일한 다음 문자열을 찾으려면 를 클릭합니다.
- 동일한 이전 문자열을 찾으려면 를 클릭합니다.
- Click Find Data dialog. to close the
3.6. To Add Search Criteria
To add search criteria, perform the following steps:
-
Choose
. -
In the Find Data dialog, click .
-
In the Find Data: Add Search dialog, choose one of the following options:
- 16진수 데이터 찾기
- ASCII 데이터 찾기
-
찾을 문자열을 입력합니다.
-
Use the color wheel or the spin boxes to select a color to highlight the search criteria.
-
Click
. -
Click Find Data dialog.
to close the
3.7. To Remove Search Criteria
To remove search criteria, perform the following steps:
- Choose .
- In the Find Data dialog, select the search criteria that you want to remove.
- Click .
- Click Find Data dialog. to close the
3.8. 파일에서 데이터를 찾아 바꾸려면
파일에서 16진수 또는 ASCII 문자열을 검색하여 이 문자열을 다른 문자열로 바꾸려면 다음 단계를 수행합니다.
-
를 선택합니다.
-
데이터 찾기 및 바꾸기 대화 상자에서 다음 옵션 중 하나를 선택합니다.
- 16진수 데이터 바꾸기
- ASCII 데이터 바꾸기
-
첫 번째 텍스트 상자에는 찾을 문자열을 입력합니다.
-
두 번째 텍스트 상자에는 찾은 문자열을 바꾸는 데 사용할 문자열을 입력합니다.
-
를 클릭합니다.
-
를 클릭하여 현재 일치하는 문자열을 바꾸거나 를 클릭하여 일치하는 모든 문자열을 바꿉니다.
-
Click Find & Replace Data dialog.
to close the
3.9. 파일에 대한 보기를 추가하거나 제거하려면
To add another view of the current file to your GHex window, choose .
현재 파일의 보기를 제거하려면
를 선택합니다. 열려 있는 마지막 보기를 제거하면 응용프로그램이 종료됩니다.3.10. To Change the Data Group Type
To change how GHex displays the hexadecimal content of a file in the GHex window, choose , then select one of the following menu items:
- Bytes - single bytes
- Words - groups of two bytes
- Longwords - groups of four bytes
3.11. GHex에 표시된 내용을 HTML로 내보내려면
GHex 창에 포함된 데이터를 HTML로 내보내려면 을 선택합니다. 디렉토리를 선택하고 HTML 파일의 이름을 지정한 다음 을 클릭합니다. GHex은(는) 다음 작업을 구현합니다.
- GHex 창에 표시되는 각 데이터 페이지에 대해 별도의 HTML 파일을 만듭니다.
- 기본 파일 이름으로 지정한 HTML 파일 이름을 사용합니다.
- 파일 이름에 페이지 번호를 첨가하여 파일을 구분합니다.
3.13. 데이터 변환을 보려면
최대 4바이트 데이터에 대해 2진수, 10진수, 16진수 및 ASCII 변환을 표시하려면 다음 단계를 수행합니다.
-
를 선택합니다.
-
다음 작업 중 하나를 수행합니다.
- 기본 변환기 대화 상자의 필드 중 하나에 변환할 데이터를 입력한 다음 Return 키를 누릅니다.
- 현재 파일의 커서 위치에 있는 데이터의 변환을 표시하려면 버튼을 클릭합니다.
GHex은(는) 다른 필드의 값을 갱신하여 데이터 변환을 표시합니다.
-
Click Base Converter dialog.
to close the
3.14. To Show or Hide the Type Conversion Dialog
To show or hide the type conversion dialog, choose
.The type conversion dialog displays the value of the selected character in the following representations:
- Signed 8 bit
- Unsigned 8 bit
- Signed 16 bit
- Unsigned 16 bit
- Signed 32 bit
- Unsigned 32 bit
- 32 bit float
- 64 bit float
- Hexadecimal
- Octal
- Binary
- Stream Length
The type conversion dialog also contains the following options:
- Show little endian decoding
-
Select this option to show little endian decoding.
- Show unsigned and float as hexadecimal
-
Select this option to show unsigned and float numbers as hexadecimal numbers.