diff options
| author | Jordan Wiens <github@psifertex.com> | 2026-05-27 14:55:28 -0400 |
|---|---|---|
| committer | Jordan Wiens <github@psifertex.com> | 2026-05-27 14:55:28 -0400 |
| commit | 162b406ea28aa5bacc34a00745d8780bcbf58753 (patch) | |
| tree | 39802866489bd352c54599024e24ee346b44cd35 /docs/dev/bnil-modifying.md | |
| parent | f2ae12d97604da6136b26c184eb7fe30531b4d5e (diff) | |
add better syntax highlighting for code blocks
Diffstat (limited to 'docs/dev/bnil-modifying.md')
| -rw-r--r-- | docs/dev/bnil-modifying.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/dev/bnil-modifying.md b/docs/dev/bnil-modifying.md index bcd02b5b..47900708 100644 --- a/docs/dev/bnil-modifying.md +++ b/docs/dev/bnil-modifying.md @@ -590,7 +590,7 @@ In addition, it applies to Find In Text results, so you can enable Show IL Opcod **Show IL Opcodes off:** -``` +```text 10 @ 1400553e7 bool rcx = temp0 s< 0x12817497a9ff848a 11 @ 1400553f1 uint32_t rdx_1 = zx.d(rcx) 12 @ 1400553f4 uint32_t rdx_2 = rdx_1 << 3 @@ -600,7 +600,7 @@ In addition, it applies to Find In Text results, so you can enable Show IL Opcod **Show IL Opcodes on:** -``` +```text 10 @ 1400553e7 (MLIL_SET_VAR.b bool rcx = (MLIL_CMP_SLT.q (MLIL_VAR.q temp0) s< (MLIL_CONST.q 0x12817497a9ff848a))) 11 @ 1400553f1 (MLIL_SET_VAR.d uint32_t rdx_1 = (MLIL_ZX.d zx.d((MLIL_VAR.b rcx)))) 12 @ 1400553f4 (MLIL_SET_VAR.d uint32_t rdx_2 = (MLIL_LSL.d (MLIL_VAR.d rdx_1) << (MLIL_CONST.d 3))) @@ -614,7 +614,7 @@ When you need to inspect a particular expression in a given IL function, it can If you have the UI open, you can skip traversing the entire IL tree and simply click the expression of interest. From there, you can use `current_il_expr` in the Python console to interact with that expression directly. -``` +```pycon # Clicking the `s<` token... >>> current_il_expr <MediumLevelILCmpSlt: temp0 s< 0x12817497a9ff848a> @@ -632,7 +632,7 @@ From there, you can use `current_il_expr` in the Python console to interact with Compare this to `current_il_instruction`, which only gives you the top-level instruction: -``` +```pycon # Clicking the `rdx_1` token... >>> current_il_instruction <MediumLevelILSetVar: rdx_2 = rdx_1 << 3> |
