Skip to content

Commit

Permalink
User: Move misplaced label on 32-bit example;
Browse files Browse the repository at this point in the history
add * to refer back to its correct previous occurrence
  • Loading branch information
mikebeaton committed May 8, 2023
1 parent d9109c3 commit fe77706
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions User/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ Additional variables are supported to adjust the compilation process.
- `WERROR=1` — treat compiler warnings as errors.
- `SYDR=1` — change `$(SUFFIX)` to store compilation results for Sydr DSE in a directory distinct from the default one.

Example 1. To build 32-bit version of utility on macOS (use High Sierra 10.13 or below):

NOTE: If your program uses `UserBaseMemoryLib` and calls custom allocation functions, be sure that besides `FUZZ_MEM` limit you correctly set limit `mPoolAllocationSizeLimit` which defaults to the 512 MB in cases if your code could allocate more than this limit at single AllocatePool.
*NOTE: If your program uses `UserBaseMemoryLib` and calls custom allocation functions, be sure that besides `FUZZ_MEM` limit you correctly set limit `mPoolAllocationSizeLimit` which defaults to the 512 MB in cases if your code could allocate more than this limit at single AllocatePool.

To set up your limit, use `SetPoolAllocationSizeLimit` routine like shown in the example below:

Expand All @@ -60,6 +58,7 @@ int main(int argc, char *argv[]) {
}
```

Example 1. To build 32-bit version of utility on macOS (use High Sierra 10.13 or below):

```sh
UDK_ARCH=Ia32 make
Expand Down

0 comments on commit fe77706

Please # to comment.