| description | Description of 'interlocked_increment' function in HyperDbg Scripts |
|---|
interlocked_increment
interlocked_increment( GlobalVariable );
[GlobalVariable (Addend)]
A global variable to be added by `1`.
Increments (increases by one) the value of the specified global variable as an atomic operation.
The function returns the resulting incremented value.
Result = interlocked_increment(.my_gloabl_counter);
Increments a global variable by 1 and saves the results into a local variable named Result.
None