mirror of
https://github.com/yugr/Implib.so
synced 2026-06-08 18:33:41 +00:00
24 lines
436 B
C
24 lines
436 B
C
/*
|
|
* Copyright 2017-2022 Yury Gribov
|
|
*
|
|
* The MIT License (MIT)
|
|
*
|
|
* Use of this source code is governed by MIT license that can be
|
|
* found in the LICENSE.txt file.
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include "interposed.h"
|
|
|
|
void test() {
|
|
int x, y;
|
|
// Slow path
|
|
x = foo(25, 0.5),
|
|
y = bar(11, 22, 33);
|
|
printf("Results: %x %x\n", x, y);
|
|
// Fast path
|
|
x = foo(35, 0.25);
|
|
y = bar(44, 55, 66);
|
|
printf("Results: %x %x\n", x, y);
|
|
}
|