mirror of https://github.com/crytic/slither
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
496 B
34 lines
496 B
library Library {
|
|
function library_func() {
|
|
}
|
|
}
|
|
|
|
contract ContractA {
|
|
uint256 public val = 0;
|
|
|
|
function my_func_a() {
|
|
keccak256(0);
|
|
Library.library_func();
|
|
}
|
|
}
|
|
|
|
contract ContractB {
|
|
ContractA a;
|
|
|
|
constructor() {
|
|
a = new ContractA();
|
|
}
|
|
|
|
function my_func_b() {
|
|
a.my_func_a();
|
|
my_second_func_b();
|
|
}
|
|
|
|
function my_func_a() {
|
|
my_second_func_b();
|
|
}
|
|
|
|
function my_second_func_b(){
|
|
a.val();
|
|
}
|
|
} |