intel / yarpgen

Yet Another Random Program Generator
Other
469 stars 50 forks source link

Missing erase #192

Closed OfekShilon closed 9 months ago

OfekShilon commented 9 months ago

This code: https://github.com/intel/yarpgen/blob/d3f19f4131eed7fda8586914d22272e342ac3438/src/gen_policy.cpp#L538-L543

includes an std::remove_if which just swaps the elements to be removed to higher addresses. The intention was probably to delete them.

dbabokin commented 9 months ago

Please rebase