-
I recently added a `.fill` function to the lgdo histogram. This turned out to be controversial, under the argument that any non-trivial histogram operations should be done by the `hist` library. So we…
-
# Lines of code
https://github.com/code-423n4/2023-12-initcapital/blob/main/contracts/lending_pool/LendingPool.sol#L95-L97
# Vulnerability details
## Impact
The impact of this finding is more on t…
-
The definitions of purity and side effects are ambiguous. For instance, suppose we have a function that reads, but does modify, state that is reachable from its inputs. Is that a "pure" function? Typi…
daira updated
7 years ago
-
Seems to happen with all my data using preprint version 0.1.0, so just adding this in case it's an actual issue and not just me.
-
```haxe
class Main {
@:analyzer(full_debug)
static function main() {
new Main(0).add(pipe(new Main(1))).add(pipe(new Main(2)));
}
@:pure(false) function add(m:Main) return this;
func…
-
# Handle
Dravee
# Vulnerability details
## Impact
In view and pure functions, != 0 costs less gass compared to > 0 for unsigned integer
## Proof of Concept
> 0 checks inside view or pure function…
-
Full name of submitter (unless configured in github; will be published with the issue): Jim X
[class.abstract]/note-2 says
> [Note 2: Such a function might be **inherited: see below**. — end note…
-
### Component(s)
pkg/ottl
### Is your feature request related to a problem? Please describe.
The standard `regexp` in Go is sometimes powerless, which make us hard to do some replacement.
…
-
**Current behavior**
```
fun test(): Int {
let a: Int = random(1, 2);
if (a < 50) { return 1; } else { return 2; }
}
```
Reported:
```
../TON-Projects/tact-template/sources/contract.tac…
-
| Subject | Details |
| :------------- | :----------------------------------------------------------------------------…